Article View: borland.public.cppbuilder.nativeapi
Article #10481Re: How to catch mouseclicks from another application?
From: Remy Lebeau (TeamB)
Date: Sat, 10 Apr 2004 22:11
Date: Sat, 10 Apr 2004 22:11
15 lines
1889 bytes
1889 bytes
"Henk" <h.van.winkoop@wxs.nl> wrote in message news:4077bab0@newsgroups.borland.com... > But what's the best mechanism to inform my MainApplication > that a DLL-MouseProc function has occurred, or in other words, > has been called by the operating system? (For reading mouse coordinates). That depends on what exactly you are trying to accomplish with hooking mouse clicks to begin with. The simpliest thing you can do is to store your main application's HWND into the shared memory so that the DLL instances can post custom messages to your application when needed. Gambit
Technical Details
Message-ID:
<407870e8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407421ef@newsgroups.borland.com> <40743aad$1@newsgroups.borland.com> <40754399$1@newsgroups.borland.com> <40758801$1@newsgroups.borland.com> <4075a4df$1@newsgroups.borland.com> <4075b6bd$1@newsgroups.borland.com> <4076476e$1@newsgroups.borland.com> <40764eac$1@newsgroups.borland.com> <40769c18$1@newsgroups.borland.com> <4076e5a0$1@newsgroups.borland.com> <4077bab0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e0858ea1c0821ca X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-10 15:39:27 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <407421ef@newsgroups.borland.com> <40743aad$1@newsgroups.borland.com> <40754399$1@newsgroups.borland.com> <40758801$1@newsgroups.borland.com> <4075a4df$1@newsgroups.borland.com> <4075b6bd$1@newsgroups.borland.com> <4076476e$1@newsgroups.borland.com> <40764eac$1@newsgroups.borland.com> <40769c18$1@newsgroups.borland.com> <4076e5a0$1@newsgroups.borland.com> <4077bab0@newsgroups.borland.com> Subject: Re: How to catch mouseclicks from another application? Date: Sat, 10 Apr 2004 15:11:06 -0700 Lines: 17 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: 67.22.138.253 Message-ID: <407870e8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081635048 67.22.138.253 (10 Apr 2004 15:10:48 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail