Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: catching modifier keys in a keydown event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catching modifier keys in a keydown event




On Jun 30, 2006, at 5:45 PM, Travis Siegel wrote:

Hello all.
I'm having trouble figuring out how to catch modifier keys (command/ option/shift/whatever)
...
I have no trouble getting regular keypresses, and even the function keys that have values.
But what I can't figure out is how to pickup a key like command-L, or something more complex command-option-L.


Review the following...

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html#// apple_ref/occ/instm/NSEvent/modifierFlags>

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSResponder_Class/Reference/Reference.html#// apple_ref/occ/instm/NSResponder/flagsChanged:>

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >catching modifier keys in a keydown event (From: Travis Siegel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.