Re: Mouse Drag Ignore.
Re: Mouse Drag Ignore.
- Subject: Re: Mouse Drag Ignore.
- From: Seth Willits <email@hidden>
- Date: Tue, 11 May 2010 12:18:25 -0700
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 (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