detecting long(ish) mouseDown?
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.