• 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: detecting a double click ahead of time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: detecting a double click ahead of time (From: Bertil Holmberg <email@hidden>)

  • Prev by Date: Re: detecting a double click ahead of time
  • Next by Date: NSThreadWillExitNotification, Thread and notification
  • Previous by thread: Re: detecting a double click ahead of time
  • Next by thread: Webkit printing
  • Index(es):
    • Date
    • Thread