• 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
Starting a drag in mouseDragged
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Starting a drag in mouseDragged


  • Subject: Starting a drag in mouseDragged
  • From: James Walker <email@hidden>
  • Date: Wed, 08 Oct 2008 19:25:01 -0700

The documentation on -[NSView dragImage:at:offset:event:pasteboard:source:slideBack:] says that you can invoke it either in mouseDown or mouseDragged. It makes more sense to me to call it from mouseDragged, since in most cases mouseDown will just indicate a click. However, if I start the drag in mouseDragged, I don't see any drag image until I release the mouse button, at which time the image briefly appears and slides back. If I start the drag with the exact same code but in mouseDown, then all looks good. Does that ring any bells?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Starting a drag in mouseDragged
      • From: James Walker <email@hidden>
  • Prev by Date: Re: Just when I thought I understood bindings.
  • Next by Date: Re: NSTextView/NSAttributedString supported file types
  • Previous by thread: Re: Just when I thought I understood bindings.
  • Next by thread: Re: Starting a drag in mouseDragged
  • Index(es):
    • Date
    • Thread