I'm very confused about drag promises and such. Another company wants
to send our app promised drags - the files are not actually available
until after our app says we'll accept the drag and the mouse is
released.
If their app adds kDragFlavorTypePromiseHFS, then our app gets that
and inspects the PromiseHFSFlavor struct that's in that drag item,
and we can accept the file based on that struct, we return noErr to
the kDragTrackingInWindow message.
Now what happens? Their app needs to add kDragFlavorTypeHFS,
otherwise our app will never get a file reference, right? Or is
something else supposed to happen?
Another part of the confusion is "promising" a drag flavor by adding
it with nil data. Which way is better, adding kDragFlavorTypeHFS with
nil data and setting the flavorDataPromised flag, or to use
kDragFlavorTypePromiseHFS with the PromiseHFSFlavor struct?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden