How can I get the keyCode for a particular combination in KeyDown? What would be the keyCode for Control + Option + A. or Command + Control +Shift +X?
How can I get the keyCode for a particular combination in KeyDown? What would
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
[NSEvent modifierFlags]will return a bitmask of the modifier keys that are currently down (http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html)