• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Menu shortcuts without modifiers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Menu shortcuts without modifiers? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: What is the life of the c string returned by NSString's UTF8String method?
  • Next by Date: Re: Running Safari from application
  • Previous by thread: Menu shortcuts without modifiers?
  • Next by thread: Re: Menu shortcuts without modifiers?
  • Index(es):
    • Date
    • Thread