• 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
How to set special keys for menuitems.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set special keys for menuitems.


  • Subject: How to set special keys for menuitems.
  • From: Kartik Reddyreddy <email@hidden>
  • Date: Thu, 16 Jun 2011 10:34:45 -0400

Hi,

I want to set the menuitem's shortcut to pageup and pagedown keys. How do i
do it in Objective-C ?? I am setting the keyequivalent in code, cannot use
Interface Builder.

Do i have to use the Unicode values to create a NSString and pass it to
NSMenuItem's setKeyEquivalent ?? If so could anyone point me to the document
with Unicode values for keys.

Thanks,
Abhinay.
_______________________________________________

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: How to set special keys for menuitems.
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSConnection - both ways
  • Next by Date: Re: NSConnection - both ways
  • Previous by thread: How to remove the NSCell border in an NSTableView that hasFocus
  • Next by thread: Re: How to set special keys for menuitems.
  • Index(es):
    • Date
    • Thread