Drag & Drop: PREVENT file move
Drag & Drop: PREVENT file move
- Subject: Drag & Drop: PREVENT file move
- From: Houdah - ML Pierre Bernard <email@hidden>
- Date: Fri, 12 Dec 2008 00:11:47 +0100
Hi!
My application shows a list of files in a table view.
I have implemented drag and drop so that users may drag files from the
list. I could envision them dragging the files onto other applications
for viewing or dragging them on a removable media to create archive
copies.
The problem occurs when the user drags the file to another folder on
the same disk. By default, the Finder then wants to move the file. I
need to prevent just that as it will cause havoc. For one, I would
lose track of the file.
Is there a way for the originating application to control the allowed
drag operations?
Best,
Pierre Bernard
_______________________________________________
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