Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
- Subject: Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
- From: "John C. Randolph" <email@hidden>
- Date: Sun, 11 Nov 2007 01:32:43 -0800
On Nov 10, 2007, at 5:07 AM, Mike Abdullah wrote:
Correct me if I'm wrong, but I don't believe text fields start a
drag depending on the distance moved by the mouse. Instead, as I far
as I'm aware it's time based. i.e. to drag you have to click and
hold for a fraction of time before moving the mouse.
That's correct. Also, in Mail, if you drag horizontally you start a
drag session, and if you drag vertically you select more than one
message.
This would have been fairly easy to achieve using an iVar in -
mouseDown and -mouseDragged.
Yep.
-jcr
_______________________________________________
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