Re: Dragging a file out of an NSTableView
Re: Dragging a file out of an NSTableView
- Subject: Re: Dragging a file out of an NSTableView
- From: Chris Hanson <email@hidden>
- Date: Wed, 26 Mar 2003 14:49:06 -0600
At 1:43 PM -0500 3/26/03, Greg Casey wrote:
In order to drag anything out of an NSTableView to another
application like the Finder, you have to override this NSTableView
method:
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
The default method returns NSDragOperationNone if !isLocal.
I'm doing that now, thanks.
It looks like I'm going to have to follow Olivier's advice and use
the workaround until Apple fixes the dragging API or the private data
in a file-promise drag is made public.
Thanks to everyone for the help. I'll try and get back to the group
when I've got this working, and let everyone know what worked.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Application Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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.