Re: Drag-And-Drop magic of copy vs. move (green "plus" sign magic)(in the context of NSOutlineView)
Re: Drag-And-Drop magic of copy vs. move (green "plus" sign magic)(in the context of NSOutlineView)
- Subject: Re: Drag-And-Drop magic of copy vs. move (green "plus" sign magic)(in the context of NSOutlineView)
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 6 Dec 2005 20:40:45 -0700
On Dec 6, 2005, at 8:27 PM, Andrei Tchijov wrote:
When doing drag-and-drop inside NSOutlineView, who is responsible
for showing "green plus sign" over dragged image and do I need to
do anything special to make it happen? It looks like it is "drop
destination" responsibility. Is
- (unsigned int)outlineView:(NSOutlineView*)olv validateDrop:(id
<NSDraggingInfo>)info proposedItem:(id)item proposedChildIndex:(int)
childIndex
right place to deal with it?
Correct. If the method returns NSDragOperationCopy, then the green
plus will show up.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden