You can subclass NSWindow for your window and override keyDown:. The ones you want to pass down the chain you send by calling the superclass's keyDown.

On Apr 23, 2008, at 9:36 AM, Duncan Champney wrote:

I could easily change my zoom in/zoom out keystrokes to be the bracket keys ("[" "]" with or without shift), or some other set of keys that are only used by the 3D view, but I need a way to intercept them. Is there a clean way for me to catch certain keystrokes globally for the window, and pass them to my 3D view, while letting others go to the current firstResponder?

_______________________________________________

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