Re: Special handling of keystrokes in a window controller
Re: Special handling of keystrokes in a window controller
- Subject: Re: Special handling of keystrokes in a window controller
- From: Michael Vannorsdel <email@hidden>
- Date: Wed, 23 Apr 2008 09:46:16 -0600
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@hidden)
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:
This email sent to email@hidden