James Walker wrote:
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?

For the record, this turns out to be a Carbon/Cocoa conflict. The Carbon function SetAutomaticControlDragTrackingEnabledForWindow causes this problem, even if the Carbon window was closed long before the Cocoa window is created. <rdar://6307637>
--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to