Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot get toolbar to appear in window



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Cannot get toolbar to appear in window (From: <email@hidden>)
 >Re: Cannot get toolbar to appear in window (From: Andy Lee <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.