On May 9, 2009, at 4:32 PM, Mike Abdullah wrote:
That won't work because the event loop is not set up yet. You want to use GetCurrentEventKeyModifiers()
Actually you want to use GetCurrentKeyModifiers, not GetCurrentEventKeyModifiers, since GetCurrentEventKeyModifiers returns the state of the modifiers in the current event, and at launch there is no current event.
-eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com