🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5604

Re: Recieving Windows Messages (like WM_MOUSEMOVE) by another application

#5604
From: Daniel Mayo
Date: Wed, 03 Aug 2005 20:03
22 lines
1655 bytes
Any good places for examples?

I have been looking into this, but each place I can find is a Delphi 
site or is in Russian that I can't seem to translate.


Remy Lebeau (TeamB) wrote:
> "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: <42f1231a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f11306@newsgroups.borland.com> <42f12028$1@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
Date: Wed, 03 Aug 2005 15:03:52 -0500
From: Daniel Mayo <dmayo@reply.via.newsgroup.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Recieving Windows Messages (like WM_MOUSEMOVE) by another application
References: <42f11306@newsgroups.borland.com> <42f12028$1@newsgroups.borland.com>
In-Reply-To: <42f12028$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 216.174.165.174
Message-ID: <42f1231a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123099418 216.174.165.174 (3 Aug 2005 13:03:38 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail