🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #14113

Re: Double Click

#14113
From: Usenet file owner
Date: Thu, 08 Mar 1990 04:37
13 lines
881 bytes
In article <79yO02zd8fMp01@amdahl.uts.amdahl.com> dwl10@uts.amdahl.com (Dave Lowrey) writes:
>I can find no "standard" coding technique to handle "double clicking"
>of a gadget.
>

Yup there is. If you take a look a IDCMP messages they include
a time stamp. Save the timestamp when you get a click, then compare
it to the timestamp in the second click with the DoubleClick
intuition.library function.

Simple enuff?

 Joe Porkka   porkka@frith.egr.msu.edu
Technical Details
Message-ID: <6789@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!netnews.upenn.edu!cps3xx!usenet
References: <79yO02zd8fMp01@amdahl.uts.amdahl.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!netnews.upenn.edu!cps3xx!usenet
From: usenet@cps3xx.UUCP (Usenet file owner)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Double Click
Message-ID: <6789@cps3xx.UUCP>
Date: 8 Mar 90 04:37:16 GMT
References: <79yO02zd8fMp01@amdahl.uts.amdahl.com>
Reply-To: porkka@frith.UUCP (Joe Porkka)
Organization: Michigan State University
Lines: 13