Re: Subject: detect option key on startup
Re: Subject: detect option key on startup
- Subject: Re: Subject: detect option key on startup
- From: Eric Schlegel <email@hidden>
- Date: Sat, 09 May 2009 16:47:05 -0700
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 (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:
This email sent to email@hidden