• 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: How to initiate drag&drop for a filename outside of NSView mouseDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to initiate drag&drop for a filename outside of NSView mouseDown


  • Subject: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 09 Dec 2011 18:47:05 -0800

On Dec 7, 2011, at 12:29 PM, Vojtěch Meluzín wrote:

> I need to initiate a simple drag & drop operation for a single filename,
> but it will not be called within NSView mouseDown, but shortly afterwards
> (internal reasons).

What does “shortly afterwards” mean, exactly? Assuming you returned from the -mouseDown: method, what are you starting the drag in response to, i.e. some other event?

> The mouse button will still be pressed, but the
> mouseDown even will already be finished. How to do this?

Do you know that this doesn’t work, i.e. have you tried it yet? I remember back in the old days (pre-OS X) you could start a drag as long as the mouse was down.

—Jens_______________________________________________

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: How to initiate drag&drop for a filename outside of NSView mouseDown
      • From: Vojtěch Meluzín <email@hidden>
References: 
 >How to initiate drag&drop for a filename outside of NSView mouseDown (From: Vojtěch Meluzín <email@hidden>)

  • Prev by Date: How to make NSColorPanel/NSColorWell do what I want...
  • Next by Date: Re: Web Kit - playing HTML5 video in a separate window
  • Previous by thread: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Next by thread: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Index(es):
    • Date
    • Thread