• 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: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?


  • Subject: Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 11 Nov 2007 01:32:43 -0800


On Nov 10, 2007, at 5:07 AM, Mike Abdullah wrote:

Correct me if I'm wrong, but I don't believe text fields start a drag depending on the distance moved by the mouse. Instead, as I far as I'm aware it's time based. i.e. to drag you have to click and hold for a fraction of time before moving the mouse.

That's correct. Also, in Mail, if you drag horizontally you start a drag session, and if you drag vertically you select more than one message.


This would have been fairly easy to achieve using an iVar in - mouseDown and -mouseDragged.

Yep.

-jcr
_______________________________________________

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


References: 
 >Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag? (From: Stéphane Sudre <email@hidden>)
 >Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: SenTestingKit fails when using CG-Only (Fixed)
  • Next by Date: Feedback requested - Use of QuickTime movies in the Core Animation documentation
  • Previous by thread: Re: NSView / Drag and Drop: Any API or constants to detect the start of a drag?
  • Next by thread: -[NSCalendar firstWeekday] keeps getting overwritten?
  • Index(es):
    • Date
    • Thread