Re: Displaying a window?
Re: Displaying a window?
- Subject: Re: Displaying a window?
- From: Andy Lee <email@hidden>
- Date: Wed, 22 May 2002 20:21:33 -0400
At 4:12 PM -0700 5/22/02, Dylan Barrie wrote:
I've figured out how to make the window show up with:
[NSApp runModalForWindow:myWindow];
But since I'm running this from within my awakeFromNib function, the
window is displayed before the menu bar changes to reflect that my
app is now in the foreground, which is not what I want.
Try adding the application delegate method
-applicationDidFinishLaunching: and launching your app's splash
window there. The place to look is in the NSApplication class docs.
--Andy
_______________________________________________
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.