• 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: NSAlternateKeyMask is not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlternateKeyMask is not working


  • Subject: Re: NSAlternateKeyMask is not working
  • From: Andrew Farmer <email@hidden>
  • Date: Fri, 21 Aug 2009 23:31:29 -0700

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@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: 
 >NSAlternateKeyMask is not working (From: Nikhil Khandelwal <email@hidden>)

  • Prev by Date: Re: debug control not reaching init method
  • Next by Date: Re: Bindings & Reverting Properties
  • Previous by thread: NSAlternateKeyMask is not working
  • Next by thread: NSMutableArray fill with unique values from NSArray
  • Index(es):
    • Date
    • Thread