Re: Menu shortcuts without modifiers?
Re: Menu shortcuts without modifiers?
- Subject: Re: Menu shortcuts without modifiers?
- From: Uli Kusterer <email@hidden>
- Date: Fri, 18 Sep 2009 20:07:45 +0200
On 17.09.2009, at 22:26, Ashley Clark wrote:
Have you tried looking at the
menuHasKeyEquivalent:forEvent:target:action: delegate method on
NSMenu?
I suppose you could examine the firstResponder status and other
state and return NO if you don't want the key to be handled as a key
equivalent.
Ashley,
Thanks for the suggestion, hadn't seen that one, but sadly that
doesn't work It appears that when I return NO, the OS will scan the
actual menu items and trigger them nonetheless. :-(
Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."
_______________________________________________
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