cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/11/07:02:18

Message-ID: <380172C5.78321684@snetch.cpg.com.au>
Date: Mon, 11 Oct 1999 15:16:53 +1000
From: Michael Abbott aka frEk <20014670 AT snetch DOT cpg DOT com DOT au>
Organization: Student of Computer Power Institute
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Sample Please.
References: <7tbjhr$vl0$1 AT nnrp1 DOT deja DOT com> <7tbsn0$nmf$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7tguhv$q49$1 AT nnrp1 DOT deja DOT com> <GTjL3.331$_4 DOT 780 AT newsfeeds DOT bigpond DOT com> <7tmfcj$nh5$1 AT nnrp1 DOT deja DOT com> <Hk_L3.1823$_4 DOT 2912 AT newsfeeds DOT bigpond DOT com>
Reply-To: djgpp AT delorie DOT com

Heya

Another good source to look at is the Allegro double click handler in GUI.C...

> >  Thanks, but can you post me a simple sample or talk me thru how to
> > detect the Double Click, I have wrote my self a simple mouse routine
> > that will detect Left, Middle, and Right mouse click, but I have no
> > idea how to write a routine that will detect Double Mouse Click, Please
> > Help.
>
> Have a look at Damian Yerrick's code in a previous post in this thread, it can
> be modified to work with your mouse controller. The basic idea is to catch a
> mouse click, and if there is another click before the set double click time, you
> treat it as a double click.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019