Re: Detecting a failed drag and drop outside of view
Re: Detecting a failed drag and drop outside of view
- Subject: Re: Detecting a failed drag and drop outside of view
- From: Rick Bischoff <email@hidden>
- Date: Wed, 12 Nov 2003 00:39:17 -0600
Hi Rick,
If you would just RTFM, it says right there in the drag and drop
documentation at
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/
Concepts/dragsource.html
That you need to implement draggedImage:endedAt:operation in the
dragging source to get the functionality you want.
Thanks,
Rick
On Wednesday, Nov 12, 2003, at 00:26 US/Central, Rick Bischoff wrote:
Hello,
In my application, I need to detect when a drag failed outside of my
custom view--
i.e.,
When the drag begins, image at cell X is removed to signify to the
user that they are MOVING the image
When user drags image off of my view, (I can detect this with
draggingExited) and drops it on something that won't accept it (pretty
much anything since this is "in-application" only),
I need to detect that so I can redraw the image on cell X.
Right now, I have it set to redraw the image on the "draggingExited",
but this is clunky since the drag/drop operation is not done yet and
the user may still decide to return to my view with the image.
Any ideas?
Thanks,
Rick
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.