• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modifying the dragged image during a drag / drop operation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Modifying the dragged image during a drag / drop operation (From: Pat Homelvig <email@hidden>)
 >Re: Modifying the dragged image during a drag / drop operation (From: "Clint Shryock" <email@hidden>)

  • Prev by Date: Re: Noob question regarding Cocoa objects.
  • Next by Date: NSTask memory leak
  • Previous by thread: Re: Modifying the dragged image during a drag / drop operation
  • Next by thread: [NSPasteboard setPropertyList:forType:] is buggy...
  • Index(es):
    • Date
    • Thread