🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ForegroundWindow Changes !!

#14801
From: DRE
Date: Wed, 30 Jul 2003 08:03
19 lines
1678 bytes
thanks Remy I think I would try to work with the Windows Hook

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f26a1ad@newsgroups.borland.com...
>
> "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: <3f277aa3@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!newshosting.com!news-xfer2.atl.newshosting.com!proxad.net!proxad.net!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> <3f26a1ad@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-30 01:26:01 PST
From: "DRE" <dre00x@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f26815a@newsgroups.borland.com> <3f26a1ad@newsgroups.borland.com>
Subject: Re: ForegroundWindow Changes !!
Date: Wed, 30 Jul 2003 11:03:38 +0300
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 62.68.241.137
Message-ID: <3f277aa3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059551907 62.68.241.137 (30 Jul 2003 00:58:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!proxad.net!proxad.net!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