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

NSAlternateKeyMask is not working


  • Subject: NSAlternateKeyMask is not working
  • From: Nikhil Khandelwal <email@hidden>
  • Date: Thu, 20 Aug 2009 17:24:19 +0530
  • Acceptlanguage: en-US, en-IN
  • Thread-topic: NSAlternateKeyMask is not working

HI All,

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 ?

Thanks,
Nikhil

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
_______________________________________________

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

  • Follow-Ups:
    • Re: NSAlternateKeyMask is not working
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: devil of a time with an NSImageView
  • Next by Date: Re: devil of a time with an NSImageView
  • Previous by thread: Re: debug control not reaching init method
  • Next by thread: Re: NSAlternateKeyMask is not working
  • Index(es):
    • Date
    • Thread