• 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
NSDraggingInfo draggedImage returns nil - Always
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Erasing portion of NSView and custom cursors
  • Next by Date: *** layout manager 132840 failed to progress beyond index 70 while drawing glyphs -- why?
  • Previous by thread: Re: Erasing portion of NSView and custom cursors
  • Next by thread: *** layout manager 132840 failed to progress beyond index 70 while drawing glyphs -- why?
  • Index(es):
    • Date
    • Thread