Mailing Lists: Apple Mailing Lists

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

Multiple menu items with same keyEquivalent?



My application can handle three different kinds of objects (Accounts, folders and messages). Accounts and Messages are special enough to have a menu each of their own in the main menu.

Under File I have New->{Account, Folder, Message}, as that is natural and OSX:ish. I hav also chosen to have New Account under the Account menu, and new Message under the Message menu, as some users find this natural.

Obviously they both hook up to the same target, with the same actions. I also like them to display the same key equivalent, how do I do this? By default duplicate key equivalents are removed even if they do have the same target/action.
This is forexample done in Thunderbord where there is both File->New->Message and Messages->New Message, with the same key equivalent.



And secondly;
Is there any good reason why I should not have multiple menu items performing the same task, even if they both are placed in locations where users might expect them?



// Fredrik Olsson _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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.