🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Global window hook

#7259
From: Remy Lebeau (TeamB)
Date: Thu, 24 Feb 2005 07:20
13 lines
1174 bytes
"roger" <rogersmail@ntlworld.com> wrote in message
news:421d76a8@newsgroups.borland.com...

> Can someone please tell me the best way(if poss) to hook via
> a DLL when windows opens or closes a new window of any
> kind

Look at the WH_CBT hook.  It has HCBT_CREATEWND and HCBT_DESTROYWND
notifications.


Gambit
Technical Details
Message-ID: <421d81d6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <421d76a8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9b9eac270d6034d6
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <421d76a8@newsgroups.borland.com>
Subject: Re: Global window hook
Date: Wed, 23 Feb 2005 23:20:56 -0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <421d81d6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109230038 68.69.17.41 (23 Feb 2005 23:27:18 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail