Re: key modifiers change during drag
Re: key modifiers change during drag
- Subject: Re: key modifiers change during drag
- From: Seth Delackner <email@hidden>
- Date: Thu, 9 Oct 2003 00:00:11 +0000
- Mail-followup-to: email@hidden
On Wed, Oct 08, 2003 at 07:08:33PM -0400, robert l clair wrote:
>
Use [theEvent modifierFlags] to get the mask of modifier keys
>
on mouseDown, hold on to it , do [theEvent modifierFlags] in each
>
drag event and check for changes ? I haven't done this but the docs do
>
not say that modifierFlags is restricted to Key events and the header files
>
says it is valid for all events.
Yes, but you receive no events at all when the user has the
mouse down, has dragged some, and now just presses a
modifier. You receive an event next time the user nudges
the mouse. The finder's drag behavior is clearly not thusly
restricted.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.