www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/10/14:35:41

From: "Johan Venter" <jventer AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
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>
Subject: Re: Sample Please.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <Hk_L3.1823$_4.2912@newsfeeds.bigpond.com>
Date: Sun, 10 Oct 1999 12:55:38 +1000
NNTP-Posting-Host: 203.40.86.129
X-Trace: newsfeeds.bigpond.com 939553191 203.40.86.129 (Sun, 10 Oct 1999 20:59:51 EST)
NNTP-Posting-Date: Sun, 10 Oct 1999 20:59:51 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<hank_heng AT hotmail DOT com> wrote in message news:7tmfcj$nh5$1 AT nnrp1 DOT deja DOT com...
> Hi,
>
>  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.

--
Johan Venter
ICQ 3643877 - jventer AT writeme DOT com
The TPU DJGPP Interest Group - http://surf.to/djgppig
The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj


- Raw text -


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