On May 11, 2010, at 11:50 AM, Sandro Noël wrote:

> the image in the item view seems to be hogging the mouse when the mouse is 
> over it
> which sends the draggingExited notification to the window
> 
> when the mouse exist the image rect, the window receives another 
> draggingEntered notification
> and the draggingUpdated notification is fired again and i can track the 
> coordinates of the mouse.


Ahhh. Yes, that's much more specific.

You'd only be getting draggingExited/draggingEntered when going into and out of 
the image view because the image view is registered for one of the types being 
dragged (a file perhaps). If you *only* want the content view to accept the 
drop, then you need to use a custom drag type (if you can), or unregister the 
image view for drags.

What is being dragged?

--
Seth Willits



_______________________________________________

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 arch...@mail-archive.com

Reply via email to