Re: Modifying the dragged image during a drag / drop operation
Re: Modifying the dragged image during a drag / drop operation
- Subject: Re: Modifying the dragged image during a drag / drop operation
- From: "Clint Shryock" <email@hidden>
- Date: Wed, 29 Nov 2006 10:22:40 -0600
crap totally didn't finish my message when that sent.
anyway long story short i would think you would be able to reconstruct the
drag there using the information in sender
hope that helps
+cts
On 11/29/06, Clint Shryock <email@hidden> wrote:
Pat-
a dragging destination should call
> - (unsigned int)draggingEntered:(id <NSDraggingInfo>)sender
when a user enters / exits the window that is receiving the drag
operation. I believe this is where you may specify "NSDragOperationCopy" or
"NSDragOperationMove" etc.
at that point you may be able to re-construct the dragging operation with
a new image from sender with
[self dragImage:newImage
at: [sender draggingLocation]
- (NSPoint)draggingLocation
- (NSPoint)draggingImageLocation
- (NSPasteboard *)draggingPasteboard
On 11/29/06, Pat Homelvig <email@hidden> wrote:
>
> Hello,
>
> Is there any way that you can change the dragged image during a
> drag / drop operation? I would like to change the image as the user
> enters / exits the window that is receiving the drag operation.
>
> I know you can get information about the image during the drag
> operation, but haven't found any way to modify that image. Not sure
> it can be done, but thought I'd ask.
>
> Thanks in advance.
>
> Pat
>
> _______________________________________________
>
> 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