| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Dec 31, 2008, at 11:36 AM, Sean McBride wrote:
Wesley Smith (email@hidden) on 2008-12-26 3:04 AM said:
Is there a way to know if a modifier key (shift, ctrl, option, cmd, etc) is pressed? Obviously, there's this: NSUInteger modifierFlags = [theEvent modifierFlags];
but what if you need to know this information independent of an NSEvent? Anyway to get it? So far I haven't seen anything encouraging in the docs.
There's GetCurrentKeyModifiers(), which is superbly documented in
CarbonEventsCore.h. But sticking with NSEvent, if you can, if probably
better.
_______________________________________________
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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >modifier key query (From: "Wesley Smith" <email@hidden>) | |
| >Re: modifier key query (From: "Sean McBride" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.