• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag Image To Desktop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag Image To Desktop?


  • Subject: Re: Drag Image To Desktop?
  • From: 陳銘崧 a.k.a. James Chen <email@hidden>
  • Date: Tue, 3 Aug 2004 11:29:35 +0800

Hi,
Usually, you should call -dragPromisedFilesOfTypes:fromRect:source:slideBack:event: to initiate a promise drag. And implement the method of NSDraggingInfo protocol - (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination which will be called from drag destination if it receive such kind of drag.

for more detail please refer to:
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/ Tasks/DraggingFiles.html#//apple_ref/doc/uid/20001288/102943
And you might also need this:
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/ Tasks/faq.html

------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
On Aug 3, 2004, at 11:07 AM, Jerry LeVan wrote:

Hi,

I am in the process of adding image viewing to my postgresql
browser.

I can build the image from data stored in the DB and display
the rascal in a scrolled image view.

I can also copy the resulting image to the "clip board".

I would like to be able to drag the image to the desktop...

I understand that I would have to make the imageview a
dragging source, note there is no filename for the image
at this point.

Does the finder accept drags to the desktop for nameless data?

Thanks,

Jerry
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Drag Image To Desktop? (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Drag Image To Desktop?
  • Next by Date: Messy Nib, how bad is it?
  • Previous by thread: Drag Image To Desktop?
  • Next by thread: Messy Nib, how bad is it?
  • Index(es):
    • Date
    • Thread