Re: Fancy drag & drop
Re: Fancy drag & drop
- Subject: Re: Fancy drag & drop
- From: Philip Dow <email@hidden>
- Date: Thu, 24 Jul 2008 19:24:08 -0700
It's not trivial, but you want to create a transparent window and show
it while simultaneously returning an empty image. Then in the
draggedImage:movedTo method you can update the position of the window
and depending on ui window element it is over, change the shape.
~Phil
On Jul 24, 2008, at 6:25 PM, Ron Lue-Sang wrote:
On Jul 24, 2008, at 8:20 AM, Nicolas L. wrote:
HI all!
I'm interested in the way Interface Builder, Instruments and
probably a couple of other apps handle drag and drop. You know, how
the item dragged from the Library panel changes depending where
it's about to be dropped.
I've subclassed my table views and overridden the methods to
replace the "standard" drag image with a custom image, but I can't
seem to find how to control the drag further. Control over an image
is not enough, I'd need access to, for example, a view.
I can't seem to find any sample code, documentation or APIs for
this. Is there a (supported?) way to do this?
I believe the answer is no. Please file an enhancement request.
Thanks!
Nicolas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
--------------------------
RONZILLA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
Journler Developer
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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