Re: Regarding Trash programming...
Re: Regarding Trash programming...
- Subject: Re: Regarding Trash programming...
- From: "Amit Jain" <email@hidden>
- Date: Fri, 29 Dec 2006 12:36:03 +0530
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?
Thanks...
Amit
On 12/28/06, Olivier Destrebecq <email@hidden> 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.
hope this helps
Olivier Destrebecq
http://otusweb.spymac.com/portfolio/
On Dec 28, 2006, at 10:51 AM, Amit Jain wrote:
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.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden