Re: Drag and Drop
Re: Drag and Drop
- Subject: Re: Drag and Drop
- From: Stephane Sudre <email@hidden>
- Date: Fri, 19 Nov 2004 11:31:21 +0100
On 19 nov. 04, at 00:37, klee04 wrote:
Hi,
It is internal Drag and Drop (if you mean within my program). I have
folder-tree view, and I do internal drag from one branch and drop onto
another branch in same window. Funny thing is, when drag and drop is
made
by other application (other than Finder), mine starts to work too.
Try to subclass NSOutlineView and this code to the subclass:
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
{
if (isLocal) return NSDragOperationEvery;
else return NSDragOperationCopy;
}
_______________________________________________
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