Re: Making NSView respond to command+key equivalent
Re: Making NSView respond to command+key equivalent
- Subject: Re: Making NSView respond to command+key equivalent
- From: Matt Neuburg <email@hidden>
- Date: Sat, 26 Feb 2005 08:17:23 -0800
On Thu, 24 Feb 2005 19:47:32 +0100, Arthur VIGAN <email@hidden>
said:
>my application has just a window (no title bar) that can become key
>window, containing an NSView subclass. The view responds to keyDown:
>events perfectly well, but when I press commad+key, my keyDown: method
>is not called anymore. How can I fix this?
There is nothing to fix. Cocoa is behaving in accordance with the
documentation, which says that command+key does not result in keyDown: being
called. You might wish to RTFM (hint, look at performKeyEquivalent:). m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden