🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12102

Re: getting messages of a window

#12102
From: Michael Warner
Date: Sat, 23 Nov 2002 15:49
10 lines
1571 bytes
On Sat, 23 Nov 2002 05:28:21 +0100, "dropy" <dropy@nexo.es> wrote:

>I know the handle of the chat window (HWND), I have been said that I have to
>wait for windows messages and then throw my method, but I don't know to do
>that. any idea?

To intercept messages sent to another process's window, you need to write and
a global hook, a non-trivial undertaking. And in this case I don't see that there
would necessarily be a message to intercept, depending on how the chat window
is implemented. Use WinSight to see what's going on before you start.
Technical Details
Message-ID: <mo8vtustppcq4lcekl7fpdsar3fo4k9h7i@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!ngpeer.news.aol.com!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!news-FFM2.ecrc.net!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3ddf03e5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,7b89b2d3b00fed49
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-23 08:16:05 PST
From: Michael Warner <mvw@ozemail.com.au>
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: getting messages of a window
Date: Sun, 24 Nov 2002 02:19:54 +1030
Organization: Warner Solutions
Reply-To: mvw@ozemail.com.au
Message-ID: <mo8vtustppcq4lcekl7fpdsar3fo4k9h7i@4ax.com>
References: <3ddf03e5@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 203.29.136.253
X-Trace: newsgroups.borland.com 1038066604 203.29.136.253 (23 Nov 2002 07:50:04 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!ngpeer.news.aol.com!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!news-FFM2.ecrc.net!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail