• 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
detecting long(ish) mouseDown?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

detecting long(ish) mouseDown?


  • Subject: detecting long(ish) mouseDown?
  • From: Jeff <email@hidden>
  • Date: Fri, 19 Mar 2004 13:08:05 -0700

I've searched on mamasam and the other usual sources, but I haven't come up with any good leads.

I'm trying to implement a delay-before-calling-it-a-drag in an NSMatrix, meaning, I still want NSMatrix's drag-selection behavior, but if/when the mouse button is held down for a given amount of time (1/2 second?) , it turns into a "I want to drag the selected cells somewhere".

This behavior is seen in iPhoto (at least the delay part).

The general question is, how to i detect a "the mouse was held down and not moved for x-seconds" event?

thanks

jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: detecting long(ish) mouseDown?
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Cannot get indexOfObject to work
  • Next by Date: Re: Internet Movie Data Base Web Service/ XML returning URL
  • Previous by thread: help with userdefaults.
  • Next by thread: Re: detecting long(ish) mouseDown?
  • Index(es):
    • Date
    • Thread