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: Jeremy Dronfield <email@hidden>
- Date: Sun, 27 Feb 2005 12:05:22 +0000
On 26 Feb 2005, at 4:17 pm, Matt Neuburg wrote:
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.
Where exactly does it say this? If it does make such a bald statement,
then it is incorrect. I suspect Arthur's command+key clashes with one
of his menu item key equivalents. This will result in -keyDown: not
being called.
Regards,
-Jeremy
===================================
SkoobySoft, home of viJournal and Skooby Renamer
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
_______________________________________________
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