Re: drag and drop on Dock
Re: drag and drop on Dock
- Subject: Re: drag and drop on Dock
- From: Andreas Mayer <email@hidden>
- Date: Thu, 10 Jun 2004 11:55:07 +0200
Am 10.06.2004 um 06:24 schrieb Ramakrishna Kondapalli:
How
can i know that the dragged cell (nothing but file) properties will
match the selected Application in the dock?
You don't. The accepting app will decide.
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/
For example if the select a
cell creator code and content type will match with the Application then
only it should accept else it should raise an error.
You need to write the correct pasteboard type. I think what you need is
a "HFS Promise Drag". See "Dragging File Promises":
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/
Tasks/DraggingFiles.html
Andreas
_______________________________________________
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.