Starting a drag in mouseDragged
Starting a drag in mouseDragged
- Subject: Starting a drag in mouseDragged
- From: James Walker <email@hidden>
- Date: Wed, 08 Oct 2008 19:25:01 -0700
The documentation on -[NSView
dragImage:at:offset:event:pasteboard:source:slideBack:] says that you
can invoke it either in mouseDown or mouseDragged. It makes more sense
to me to call it from mouseDragged, since in most cases mouseDown will
just indicate a click. However, if I start the drag in mouseDragged, I
don't see any drag image until I release the mouse button, at which time
the image briefly appears and slides back. If I start the drag with the
exact same code but in mouseDown, then all looks good. Does that ring
any bells?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.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