Re: -draggingEntered: never gets called [SOLVED]
Re: -draggingEntered: never gets called [SOLVED]
- Subject: Re: -draggingEntered: never gets called [SOLVED]
- From: Michael Gardner <email@hidden>
- Date: Wed, 7 May 2008 17:56:37 -0500
It turns out that this was caused by manipulating the GUI outside the
main thread. Once I realized that and refactored accordingly, the
issue went away. No wonder I was having trouble duplicating the
symptoms!
Thanks to everybody who helped me figure this out.
-Michael
On May 5, 2008, at 4:02 PM, Michael Gardner wrote:
I'm trying to implement drag & drop in an NSView subclass. I made
sure that the source returns NSDragOperationMove in -
draggingSourceOperationMaskForLocal:, and that the destination calls
-registerForDraggedTypes: with the same (custom) type that the
source uses for the drag operation.
The drag operation starts properly, but the destination's -
draggingEntered: method never gets called, no matter what I do. What
could cause this? Does it matter if the source and destination are
the same object?
-Michael
_______________________________________________
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