Re: Drag and Drop from NSTableView to Finder
Re: Drag and Drop from NSTableView to Finder
- Subject: Re: Drag and Drop from NSTableView to Finder
- From: development2 <email@hidden>
- Date: Thu, 14 Jun 2007 16:05:47 -0600
Thanks. Yes I saw this before. But it really is not helping me. Here
is my problem.
I have some images in a table that are not yet in a file. They are
currently stored in the program as GCImageRef's. Now I can drag and
image to the desktop but it is not dropping on the desktop because I
don't know how to put the GCImageRef or NSImage (whatever I have to
turn it into I will) into the NSPateboard object. Also what if I want
to drag more than one at a time to the desktop.
Sorry I am probably being very dense here, but I am just not getting
this.
Any help would greatly be appreciated.
On Jun 13, 2007, at 5:29 PM, I. Savant wrote:
On Jun 13, 2007, at 7:05 PM, development2 wrote:
Is there any examples of Dragging an Image from an NSTableView to
the Finder. I am having a problem finding an example or getting
this to work.
The topic you want is "Dragging File Promises".
http://developer.apple.com/documentation/Cocoa/Conceptual/
DragandDrop/Tasks/DraggingFiles.html#//apple_ref/doc/uid/
20001288-102943
You can also find information by googling
"NSFilesPromisePboardType" (found in the document above). There are
lots of examples.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40bitblasters.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden