🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hook App window.

#15626
From: Christian Davén
Date: Mon, 23 Jun 2003 19:55
8 lines
1181 bytes
> Anybody know how to locate and send message to a
> application window?

HWND hwndWin = ::FindWindow("window class name", NULL);
SendMessage(hwndWin, WM_message, (WPARAM)x, (LPARAM)y);

-- 
c.
Technical Details
Message-ID: <oprq8kaej9fl0jih@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!In.nntp.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ee97f41@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aab215ef0476064
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-23 12:57:37 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Hook App window.
References: <3ee97f41@newsgroups.borland.com>
Message-ID: <oprq8kaej9fl0jih@newsgroups.borland.com>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
From: Christian Davén <brand@post.com>
MIME-Version: 1.0
Date: Mon, 23 Jun 2003 21:55:16 +0200
User-Agent: Opera7.10/Win32 M2 build 2840
NNTP-Posting-Host: 62.65.90.206
X-Trace: newsgroups.borland.com 1056398098 62.65.90.206 (23 Jun 2003 12:54:58 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!out.nntp.be!propagator2-sterling!In.nntp.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail