Re: how to warn users of wrong system
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.