Article View: borland.public.cppbuilder.nativeapi
Article #15830Re: trigger MouseDown event continuously
From: Remy Lebeau (TeamB)
Date: Sat, 14 Jun 2003 20:01
Date: Sat, 14 Jun 2003 20:01
14 lines
1384 bytes
1384 bytes
"Sky" <huangc913@msn.com> wrote in message news:3eeb65c2$1@newsgroups.borland.com... > I want to respond the mouse down event continuously > if the mouse key has press for a moment, that is to say, > if the mouse key has pressed, i want trigger the mouse > down event continuously. any hint? TIA Use a Timer for that. In the OnMouseDown event, start the timer. In the OnMouseUp event, stop the timer. When the timer triggers, do something. Gambit
Technical Details
Message-ID:
<3eeb7e46$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eeb65c2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c5f980c26b988a91 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-14 13:06:05 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eeb65c2$1@newsgroups.borland.com> Subject: Re: trigger MouseDown event continuously Date: Sat, 14 Jun 2003 13:01:41 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3eeb7e46$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1055620678 207.175.226.26 (14 Jun 2003 12:57:58 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail