Displaying a window?
Displaying a window?
- Subject: Displaying a window?
- From: Dylan Barrie <email@hidden>
- Date: Wed, 22 May 2002 16:12:30 -0700
What would be the best way of going about displaying a window when the
application is opened (a window that isn't the main app window)?
What I want to do is have a "Welcome to my app" window be displayed when
my app is first run, and while it is displayed, the user should not be
able to click behind it (modal, I think is the word). 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.
Anyone have any ideas?
Dylan Barrie
_______________________________________________
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.