Re: flavorTypeHFS with Cocoa
Re: flavorTypeHFS with Cocoa
- Subject: Re: flavorTypeHFS with Cocoa
- From: Jim Correia <email@hidden>
- Date: Tue, 14 Aug 2001 09:28:24 -0400
On Tuesday, August 14, 2001, at 12:19 AM, Steve Gehrman wrote:
Is there a way to correctly handle the flavorTypeHFS drag and drop
flavor using Cocoa? I want my cocoa app to work with a Carbon app that
uses this dragflavor, but I don't want to have to use the Carbon API to
respond to it. I
Grab DropZone:
<
http://www.versiontracker.com/moreinfo.fcgi?id=11073&db=mac>
It is a handy utility like DragPeeker from the old days.
It appears that there is some behind the scenes conversion going on.
BBEdit only puts flavorTypeHFS stuff in the drag, but
NSFilenamesPboardType comes out on the other end.
If that's true in general (seems to be the case with the all the Carbon
apps I've tried) then you can just listen for the Cocoa type and be done
with it.
Jim