• 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
Detect shift key down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detect shift key down


  • Subject: Detect shift key down
  • From: Bernard Desgraupes <email@hidden>
  • Date: Fri, 24 Jun 2011 09:19:57 +0200

Hi,

I need to detect if the shift key is pressed by the user during the startup of my app. How would I do that in Cocoa (targetting 10.5 and greater) ?

The following QA seems inspiring
http://developer.apple.com/library/mac/#qa/qa1519/_index.html
but I don't know where to install this flagsChanged method and I can't find the key code for the Shift modifier.


Thanks for any help,
Bernard
_______________________________________________

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: Detect shift key down
      • From: Richard Somers <email@hidden>
    • Re: Detect shift key down
      • From: Ken Heglund <email@hidden>
  • Prev by Date: Menu item key equivalents missing
  • Next by Date: NSBrowser matrix
  • Previous by thread: Menu item key equivalents missing
  • Next by thread: Re: Detect shift key down
  • Index(es):
    • Date
    • Thread