🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ForegroundWindow Changes !!

#14879
From: Remy Lebeau (TeamB)
Date: Tue, 29 Jul 2003 16:38
13 lines
1413 bytes
"DRE" <dre00x@yahoo.com> wrote in message
news:3f26815a@newsgroups.borland.com...

> I need my application to sense the change of the
> foreground window or the change of its title

You will need to either 1) subclass the window directly so that you can
intercept its WM_SETTEXT messages, or else 2) install a message hook via
SetWindowsHookEx() to intercept the message that way.


Gambit
Technical Details
Message-ID: <3f26a1ad@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f26815a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,78198ec73b63996c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-29 09:40:57 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f26815a@newsgroups.borland.com>
Subject: Re: ForegroundWindow Changes !!
Date: Tue, 29 Jul 2003 09:38:34 -0700
Lines: 15
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.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f26a1ad@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059496365 207.175.226.26 (29 Jul 2003 09:32:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail