Re: Setting key equivalent for menus depending on window
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