Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!navas From: navas@cory.Berkeley.EDU (David C. Navas) Newsgroups: comp.sys.amiga.tech Subject: Re: Double Click Message-ID: <22764@pasteur.Berkeley.EDU> Date: 7 Mar 90 22:40:58 GMT References: <79yO02zd8fMp01@amdahl.uts.amdahl.com> Sender: news@pasteur.Berkeley.EDU Reply-To: navas@cory.Berkeley.EDU.UUCP (David C. Navas) Organization: University of California, Berkeley Lines: 17 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. Funny, I always used DoubleClick()... IsDouble = DoubleClick(StartSecs, StartMicros, CurrentSecs, CurrentMicros) A0 D0 D1 D2 D3 When you get your first gadget click, save the secs and micros portion of the intuition message, and then when you get your second click, call this function appropriately... Hope this helps. David Navas navas@cory.berkeley.edu "Think you can, think you can't -- either way it's true." Henry Ford