Article View: borland.public.cppbuilder.nativeapi
Article #5602Re: Recieving Windows Messages (like WM_MOUSEMOVE) by another application
From: Remy Lebeau (TeamB)
Date: Wed, 03 Aug 2005 19:51
Date: Wed, 03 Aug 2005 19:51
12 lines
1336 bytes
1336 bytes
"Daniel Mayo" <dmayo@reply.via.newsgroup.com> wrote in message news:42f11306@newsgroups.borland.com... > How can I receive simple windows messages, like (WM_MOUSEMOVE) > that are sent to Program X from Program Y, when the two are not related? The only way is via a global message hook. You need to call SetWindowsHookEx() and implement the hook inside a DLL. Gambit
Technical Details
Message-ID:
<42f12028$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42f11306@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d86dd8eecfa1e44 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42f11306@newsgroups.borland.com> Subject: Re: Recieving Windows Messages (like WM_MOUSEMOVE) by another application Date: Wed, 3 Aug 2005 12:51:03 -0700 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42f12028$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1123098664 68.69.17.41 (3 Aug 2005 12:51:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail