• 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: Drop location on the Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drop location on the Finder?


  • Subject: Re: Drop location on the Finder?
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 22 Oct 2001 16:42:56 -0500

Thanks for the e-mail address. They will indeed get inundated. :-) My app can never reach version 1.0 until this functionality is available, because drag and drop is central to my idea for how my app should work and what I want to use it for. It's very frustrating.

On Monday, October 22, 2001, at 12:50 PM, Brian Webster wrote:

On Monday, October 22, 2001, at 10:28 AM, cocoa-dev-
email@hidden wrote:

Anyone knows how to get the drop location of drags to the Finder?
Something like promiseHFS in Carbon?

Well, there is a mechanism in Cocoa to do this. You do it by writing data of type NSFileContentsPboardType to the dragging pasteboard. But, in order for drag and drop to work between Carbon and Cocoa apps, a translation needs to occur for the two types of apps to be able to communicate. There is support for a handful of types, but the NSFileContentsPboardType <-> promiseHFSFlavor translation is not present, so there's really no way to create new files in the Finder from a Cocoa app (well, no way that isn't an ugly hack). This is Apple's problem to take care of, so feel free to inundate cocoa-
email@hidden with requests for this functionality in upcoming releases.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Re: Drop location on the Finder? (From: Brian Webster <email@hidden>)

  • Prev by Date: Re: menu things
  • Next by Date: Re: menu things
  • Previous by thread: Re: Drop location on the Finder?
  • Next by thread: Slight problem with updates in NSTableView
  • Index(es):
    • Date
    • Thread