Article View: borland.public.cppbuilder.nativeapi
Article #4932Sending mouse click through application?
From: vERUs
Date: Tue, 15 Nov 2005 15:36
Date: Tue, 15 Nov 2005 15:36
12 lines
1475 bytes
1475 bytes
Hi, I have an application with a transparent main form and a label with some text. When I click on a mouse button on the transparent area the mouse event is sent through the application to the underlying application or desktop. The problem is that if I click on the text in the label the form receives focus, is there a way to achieve the same result when clicking the label as when clicking the transparent area? I've tried catching the WM_NCHITTEST and sending HTTRANSPARENT as the result but this only send the event to the underlying control in the same thread? Thanks!
Technical Details
Message-ID:
<437a0035@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,63439b23932d5aae,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "vERUs" <andreas_antonsson@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Sending mouse click through application? Date: Tue, 15 Nov 2005 16:36:00 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 62.20.110.155 Message-ID: <437a0035@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132068917 62.20.110.155 (15 Nov 2005 07:35:17 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail