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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/luesang%40apple.com

This email sent to [EMAIL PROTECTED]


--------------------------
RONZILLA



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/dev%40phildow.net

This email sent to [EMAIL PROTECTED]



Journler Developer
[EMAIL PROTECTED]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to