Re: detecting a double click ahead of time
Re: detecting a double click ahead of time
- Subject: Re: detecting a double click ahead of time
- From: Robert Miller <email@hidden>
- Date: Tue, 21 Oct 2003 17:24:36 -0400
I know. but, the problem is when clickCount == 1, I want to look ahead
to see if it will actually be == 2 BEFORE it actually is. By the time
it is == 2 it's too late.
On Tuesday, October 21, 2003, at 05:22 PM, Henry McGilton wrote:
On Tuesday, October 21, 2003, at 01:58 PM, Robert Miller wrote:
Hello,
This is probably a basic question but searching the archives didn't
turn up anything. Does anyone know how to determine if there is a
double click pending ? I want to look ahead in the first click
mouseDown to see if there is another leftMouseDown waiting within the
defined double click time. So I guess there are two questions, one is
how do you look for a future click and to how do you find out the
double click speed in Cocoa ?
NSEvent has a - (int)clickCount instance method . . .
Best Wishes,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
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.