Re: Detecting modifier key down when opening a menu?
Re: Detecting modifier key down when opening a menu?
- Subject: Re: Detecting modifier key down when opening a menu?
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 18 May 2010 11:59:58 -0600
On May 18, 2010, at 11:38 AM, Laurent Daudelin wrote:
> What's the best way to detect if a modifier key is held down when the user click to open a menu?
[[NSApp currentEvent] modifierFlags] ought to work...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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