Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.



Context menus are not consulted when searching for key equivalents, unless they're actually open at the time, so you should not see the same problem.

Also, all user key equivalents (what users can set in SysPrefs) are deliberately suppressed in context menus. This is because it would be confusing if a context menu showed a key equivalent that didn't actually function when the menu is not open.

If you assign an ordinary key equivalent to the context menu, it will appear - but it's your app's responsibility to make it work if the menu is not open. Generally context menus don't have key equivalents.

-Peter

On Dec 2, 2008, at 11:59 AM, Keith Blount wrote:

Many thanks! Having a separate delegate for the large document- listing menus sounds a reasonable solution. That will just be one extra delegate in the MainMenu.nib to handle this and it should fix all my issues - so thank you! One final question, I promise: does this apply to contextual menus, too, or only the main menu?
Thanks again and all the best,
Keith



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts. (From: Keith Blount <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.