On Apr 23, 2008, at 1:44 AM, Rick Mann wrote:
I've got a subclass of NSWindowController (a singleton in my app) inserted after the NSApplication in the responder chain, but is there any way for it to be the last responder before the app, such that Cocoa automatically makes things point first to my responder and then I can pass things on to the app?

See this:

http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/chapter_2_section_6.html

and also -[NSResponder setNextResponder:].

However, NSWindowController automatically uses that method to add itself as the next responder after the window it manages. That's illustrated in the above link. So, I don't think you need to do anything special.

Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to