www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/23/16:30:19

From: Ludvig Larsson <ludvig AT club-internet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mouse - one click problems
Date: Sun, 23 May 1999 21:49:50 +0200
Organization: HellBlower
Lines: 8
Message-ID: <37485BDE.7B30@club-internet.fr>
References: <7c6kgd$aon$1 AT nnrp1 DOT dejanews DOT com>
NNTP-Posting-Host: toulouse-1-101.club-internet.fr
Mime-Version: 1.0
X-Trace: front3m.grolier.fr 927488540 23631 194.158.125.101 (23 May 1999 19:42:20 GMT)
NNTP-Posting-Date: 23 May 1999 19:42:20 GMT
X-Mailer: Mozilla 3.01Gold [fr]C-CLUB (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

You haven't explained How you didn't do things right:)
But i'll have a guess: You increase a variable vhen you detect
the mouse to be dowv.
You should have a state-variable that indicates how the mouse was last
time you checked it, and when it changes(well, when it changes to 'down'
OR 'up' offcourse), you should increase variable/call funcs or such.

HTH Ludvig

- Raw text -


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