On 2010-05-11, at 2:09 PM, Seth Willits wrote: > On May 11, 2010, at 10:46 AM, Sandro Noël wrote: > >> ok, now, the drag operation happens in the window controller. >> as long as I do not have an item vie inserted into the items view i can drag >> anywhere on the window. >> as soon as I have a NSImageView in there the drag operation pauses for the >> time that the mouse is over the NSImageView >> any pixel space between the items resumes drag feedback. > > I don't understand what you're trying to say here... >
the window is registered for drag types.registerForDraggedTypes the window contains the content view, ( that's standard ) the content view contains the decoration view (custom frame) and the item's view (kind of a list view) the item's view contains and draw's the item view in it's frame. the item view contains an image. 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. Hopefully this is more clear. Regards. Sandro _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
