Re: Subject: detect option key on startup
Re: Subject: detect option key on startup
- Subject: Re: Subject: detect option key on startup
- From: Mike Abdullah <email@hidden>
- Date: Sun, 10 May 2009 00:32:59 +0100
That won't work because the event loop is not set up yet. You want to
use GetCurrentEventKeyModifiers()
On 9 May 2009, at 23:58, Mitchell Livingston wrote:
In what method would that need to be in to get the key on startup? I
tried without luck in init and awakeFromNib.
On Saturday, May 09, 2009, at 06:48PM, "Kirk Kerekes" <email@hidden
> wrote:
How About: ([[NSApp currentEvent] modifierFlags] &
NSAlternateKeyMask)
_______________________________________________
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
_______________________________________________
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