Move data between applications? (NSDragOperationMove)
Move data between applications? (NSDragOperationMove)
- Subject: Move data between applications? (NSDragOperationMove)
- From: Allan Odgaard <email@hidden>
- Date: Tue, 29 Jun 2004 11:47:27 +0200
Is it possible to allow the user both to move and copy data from my
application (by dragging it to another application)?
The problem is that using the modifier keys, the user can only restrict
the dragging mask to either Generic, Copy, Link, or combinations of
these, but not Move! So unless Move is the default action taken by the
drag destination, there is no way for the user to change it into a
Move.
I figured then I'd just use Generic as the Move action, since a) most
applications use Copy by default, b) contrary to Copy, the Generic
action does not show the plus sign, and c) the semantics of Generic is
not defined.
But then I found out that Finder *always* choose the Generic option
(and does show the plus sign for it) -- so this strategy would only
work between Cocoa applications.
Am I missing something here? Didn't Apple like pioneer drag'n'drop? ;)
_______________________________________________
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.