Hi,

I have some draggable items that can be dropped outside of their container to 'poof'-delete them. I don't want the drag image to slide back after they're poofed (of course), but I do want them to slide back if they're dropped inside their container.

However, whether to slide back or not is decided when calling dragImage:at:offset:event:pasteboard:source:slideBack:, which is used to _start_ the drag, which is too early - I don't know whether to poof or not before the drag has started.

Is there a way to decide whether to slide back when dropping, like from draggedImage:endedAt:operation:? I tried the (now deprecated) method slideDraggedImageTo: from NSDraggingInfo, but it doesn't seem to actually do anything.

Any ideas?
Thanks.

Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to