Re: Cannot get toolbar to appear in window
Re: Cannot get toolbar to appear in window
- Subject: Re: Cannot get toolbar to appear in window
- From: "I. Savant" <email@hidden>
- Date: Thu, 26 Apr 2007 15:25:23 -0400
On 4/26/07, Andy Lee <email@hidden> wrote:
Offhand it doesn't seem like you should use -mainWindow for this kind
of messaging anyway. "Main window" has a specific meaning in Cocoa
which may not be what you think it is.
It occurs to me that this is the main point of disconnect between
Timothy's expectations and reality. NSApp's -mainWindow doesn't mean
"the window I have in my nib".
See the "Key & Main Windows" section of the Window Programming Guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html#//apple_ref/doc/uid/20000236-128794
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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