site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com good luck Olivier http://otusweb.blogspot.com http://www.flickr.com/photos/otusweb/ On Dec 29, 2006, at 8:06 AM, Amit Jain wrote: Thanks... Amit hope this helps Olivier Destrebecq http://otusweb.spymac.com /portfolio/ On Dec 28, 2006, at 10:51 AM, Amit Jain wrote: Cocoa-dev mailing list ( Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/olivier%40umich.edu _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... You can only declare the type of drag you accept. You can accept any drag type you want in your application as long as you know the type (I seem to remember something about cross application drag, but i'm not sure, it might just rely on drag type). I doubt that a dragged playlist will give you any meaningful information that you'll understand. You'd have to accept all drag and return delete type for the drag operation. Itunes would then delete the playlist. Thanks for the reply Olivier. Olivier can it be possible for any other application kept on the dock that would react like trash when we drag n drop playlist over that icon.And that application can get the id of the playlist dropped over it? One more question is that why user is not able to drag n drop playlist on desktop? On 12/28/06, Olivier Destrebecq < olivier@umich.edu> wrote: The trash does not recognize anything. Itunes recognize that the drag landed in the trash and allowed it at drag time. Then itunes display the warning message. When you start your drag, you need to allow the delete drag type. Then when you receive confirmation that the drag ended, you need to check what kind of drag has been accepted by the receiver of the drag. If the drag is delete type, then you know it landed in the trash and you take appropriate action. Hi All, As we all know that Playlist from iTunes cannot be dragged and dropped to desktop. Or any other location but how does Trash recognizes Playlist and gives an alert message asking for confirmation to delete the selected Playlist. Please help me in finding the event by which Trash recognises that a Playlist has been dragged and dropped. Help required urgently. Regards.. Amit Jain. _______________________________________________ This email sent to olivier@umich.edu This email sent to site_archiver@lists.apple.com