Re: catching modifier keys in a keydown event
Re: catching modifier keys in a keydown event
- Subject: Re: catching modifier keys in a keydown event
- From: Shawn Erickson <email@hidden>
- Date: Fri, 30 Jun 2006 18:21:35 -0700
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