NSDraggingInfo draggedImage returns nil - Always
NSDraggingInfo draggedImage returns nil - Always
- Subject: NSDraggingInfo draggedImage returns nil - Always
- From: Greg <email@hidden>
- Date: Fri, 4 Feb 2005 09:42:17 +1000
Hi,
I searched the archives and found two other emails, one from 2000 and
the other 2002 regarding this.
In my NSView subclass I listen for file drags. When I get the
draggingUpdated: message I need to draw a line in my view to show the
location of the drag. The only problem is that the point that is
returned from [sender draggedImageLocation] is at the left hand side of
the file's icon and not the location of the mouse, which is centered on
the icon. So the obvious thing to do would be to offset the point by
half the width of the image. The problem is [sender draggedImage] is
always nil.
There has never been replies to this question in the past. If I get no
replies I will file a bug and find out wtf is going on with it.
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden