Re: Shift key state on mouse motion or drag etc..
Re: Shift key state on mouse motion or drag etc..
- Subject: Re: Shift key state on mouse motion or drag etc..
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 29 Sep 2005 14:12:23 -0700
On Sep 29, 2005, at 2:01 PM, Brian O'Brien wrote:
How do you know if the shift key was pressed while the mouse was
being dragged?
I believe its in the flags that come with the NSEvent. but how
should you read the value and interpret it?
if ([theEvent modifierFlags] & NSShiftKeyMask)
{
// the shift key is down
}
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden