On 20 Aug 2009, at 04:54, Nikhil Khandelwal wrote:
In my application I am setting shortcut key for a menu item as

[Menuitem setKeyEquivalentModifierMask:NSAlternateMask];
[Menuitem setKeyEquivalent:@"1"];

But it is not working with alt key though it is working fine if I press "Fn + option + 1" or "control + option + 1".

Is option key is not supposed to make as shortcut key alone ?

No. In the US keyboard layout, Option+1 is the shortcut for ยก (inverted exclamation point). Keyboard shortcuts should contain either the Command or the Control key._______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to