Re: opening the MainMenu nib window
Re: opening the MainMenu nib window
- Subject: Re: opening the MainMenu nib window
- From: Francis Derive <email@hidden>
- Date: Wed, 25 Jul 2007 19:41:14 +0200
Dear both of you,
You gave me the (short) answer, along with the rich answer :
Thanks a lot.
Fr6
On Jul 25, 2007, at 7:34 PM, I. Savant wrote:
http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/
Concepts/ChangingMainKeyWindow.html
Read the section titled, "Main and Key Windows" very closely.
The reason this doesn't work when you uncheck "visible at launch
time" is because, since there is no window on-screen, there is no
"main window" (nor "key window" for that matter).
The short answer is, create an outlet in your controller and connect
it to the window. use the outlet to talk to the window directly,
rather than relying on it being the main window to message it.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden