Modifiers and drag/drop
Modifiers and drag/drop
- Subject: Modifiers and drag/drop
- From: Michael Latta <email@hidden>
- Date: Sat, 19 Apr 2003 20:29:53 -0700
The documentation states that the operating system will use modifiers
to limit the sourceDragOperationMask from a drag info based on modifier
keys. I am not seeing any such modifier based behavior. Does it
really mean the Finder does this for drags to/from it? The operation
mask my source returns is move/copy since it can support both. The
target can also support both and allows both values to be returned for
drag update. Does it need to filter based on modifiers manually?
Since it only gets a drag info not an event this is a bit less direct
than I would like.
The operation mask returned from the drag info as
sourceDragOperationMask does not seem changed from the value returned
by the source to draggingSourceOperationMaskForLocal. No modifier keys
appear to affect this, unless they cause it to be unsupported. For
example command (NSDragOperationGeneral) results in 0
(NSDragOperationNone) being provided as the mask.
Michael Latta
_______________________________________________
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.