NSPanel:
Included: the key window itself, key window's delegate, key window's
NSWindowController
Excluded: main window, main window delegate, main window's
NSWindowController, application object, application delegate
* Even when an NSWindow is run modal, it still becomes both key and
main. So only one window's responder chain shows up here.
NSPanel's behavior is generally more desirable; I got to looking at
this because I didn't want my application delegate responding when
there was a modal window up. Lastly, beware that -[NSApplication
targetForAction:to:from:] traverses the responder chain as
documented, without consideration of modality.
Allen
_______________________________________________
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