• 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: 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.

  • Follow-Ups:
    • Re: detecting a double click ahead of time
      • From: Eric Wang <email@hidden>
    • Re: detecting a double click ahead of time
      • From: Eric Wang <email@hidden>
    • Re: detecting a double click ahead of time
      • From: Creed Erickson <email@hidden>
    • Re: detecting a double click ahead of time
      • From: "Alastair J.Houghton" <email@hidden>
    • Re: detecting a double click ahead of time
      • From: David Remahl <email@hidden>
References: 
 >Re: detecting a double click ahead of time (From: Henry McGilton <email@hidden>)

  • Prev by Date: Webkit printing
  • Next by Date: Re: Text Smoothing on Panther
  • Previous by thread: Re: detecting a double click ahead of time
  • Next by thread: Re: detecting a double click ahead of time
  • Index(es):
    • Date
    • Thread