Article View: borland.public.cppbuilder.nativeapi
Article #16983Re: Doubleclick
From: Remy Lebeau (TeamB)
Date: Sat, 12 Apr 2003 20:09
Date: Sat, 12 Apr 2003 20:09
15 lines
1524 bytes
1524 bytes
"CapStick" <lol@ljones81.fsnet.co.uk> wrote in message news:3e9836ec@newsgroups.borland.com... > IDC EXAMPLE is a static control (child window) > not in a dialog box but in a main window > > which gets a reaction from one left click You're testing for WM_COMMAND, which has nothing to do with mouse clicks. There are separate, more specialized, messages for handling that, such as WM_LBUTTONDBLCLICK. So, why not just test for that instead? Gambit
Technical Details
Message-ID:
<3e987243$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.65.3.53.MISMATCH!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!feed.newsfeeds.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3e9836ec@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ed946abb1e9fc00b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-12 13:20:58 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9836ec@newsgroups.borland.com> Subject: Re: Doubleclick Date: Sat, 12 Apr 2003 13:09:02 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e987243$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050178115 207.175.226.26 (12 Apr 2003 13:08:35 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!216.65.3.53.MISMATCH!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!feed.newsfeeds.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail