• 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: Setting key equivalent for menus depending on window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting key equivalent for menus depending on window


  • Subject: Re: Setting key equivalent for menus depending on window
  • From: Andy Lee <email@hidden>
  • Date: Sat, 19 Oct 2013 09:24:26 -0400

On Oct 19, 2013, at 9:04 AM, Andy Lee <email@hidden> wrote:
> My first thought was that the app delegate might not get a validateMenuItem: message if something earlier in the responder chain handles those menu items.  But you could change the actions of the menu items to something unique to make sure nothing else in the responder chain handles them.

You could also change the *target* of the menu items to the app delegate instead of First Responder, and then it wouldn't matter what the action selectors are.

--Andy


_______________________________________________

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: 
 >Setting key equivalent for menus depending on window (From: Martin Hewitson <email@hidden>)
 >Re: Setting key equivalent for menus depending on window (From: Andy Lee <email@hidden>)
 >Re: Setting key equivalent for menus depending on window (From: Uli Kusterer <email@hidden>)
 >Re: Setting key equivalent for menus depending on window (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Setting key equivalent for menus depending on window
  • Next by Date: Re: C functions
  • Previous by thread: Re: Setting key equivalent for menus depending on window
  • Next by thread: Re: Setting key equivalent for menus depending on window
  • Index(es):
    • Date
    • Thread