• 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
drag and drop to the finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drag and drop to the finder


  • Subject: drag and drop to the finder
  • From: Eric Smith <email@hidden>
  • Date: Fri, 02 Dec 2011 15:58:18 -0800

All,

I want to declare a drag type that the finder will recognize, but that can be used for other destinations as well, like mail.  Right now, my users have to do option+drag for dragging files to the finder, in which case I call [NSView dragPromisedFilesOfType:..], and if they want to drag to something like mail they just drag, in which case I call [pboard declareTypes:...].  I can't figure out how to declare a type that will cause the finder to request the data.  How the heck do I do this?  All the sample code I've seen either drags to some application, or drags to the finder.. they're not combined.

Thanks in advance,
Eric

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: drag and drop to the finder
      • From: Jens Alfke <email@hidden>
  • Prev by Date: CGContextDrawTiledImage crash on 10.5
  • Next by Date: Debugging problem
  • Previous by thread: CGContextDrawTiledImage crash on 10.5
  • Next by thread: Re: drag and drop to the finder
  • Index(es):
    • Date
    • Thread