• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to warn users of wrong system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to warn users of wrong system


  • Subject: Re: how to warn users of wrong system
  • From: matt neuburg <email@hidden>
  • Date: Fri, 10 Oct 2003 10:09:24 -0700

On 10/10/03 at roughly 5:27 PM, thus spake Alastair J.Houghton
<email@hidden>:

>>> My question is: if NSApplicationMain hasn't been called
>>> yet, how can I put up a dialog? NSRunAlertPanel doesn't
>>> work at that stage...

> NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
> NSApplicationLoad ();
> NSRunAlertPanel (...);
> [pool release];

Perfect. Thanks! m.

--------
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: how to warn users of wrong system (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Some small utility for Mac OS X.
  • Next by Date: Re: Some small utility for Mac OS X.
  • Previous by thread: Re: how to warn users of wrong system
  • Next by thread: Re: how to warn users of wrong system
  • Index(es):
    • Date
    • Thread