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: "Alastair J.Houghton" <email@hidden>
- Date: Wed, 22 Oct 2003 11:26:38 +0100
On Wednesday, October 22, 2003, at 10:53 am, Bertil Holmberg wrote:
There is a thread in mamasam on "com.apple.mouse.doubleClickThreshold"
http://cocoa.mamasam.com/COCOADEV/2003/07/2/68727.php
Given the problems listed in that thread, I think GetDblTime() is a
better solution (it's simpler, will always work, and will always return
the current setting). OK, it's a Carbon call, but that really doesn't
matter.
BTW, if you're using the timer approach, you need to make your timer
fire slightly after the double-click period, otherwise you might ignore
a valid double-click.
Kind regards,
Alastair.
_______________________________________________
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.