🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vb.winapi
Article #3

Subclassing of a control-array

#3
From: Raphael Boos
Date: Thu, 29 Oct 1998 00:00
14 lines
1282 bytes
I have the following problem: I want to catch the messages for an array
of treeview-controls with. The hooking works well I store the hwnd
Window-handle and the address of the old procedure in an
array/collection, but whenever a method a control is called, e.g.
trvLevel(intCount).Visible the WndProc that catches the messages is
called with a totally different Window handle than the one I hooked the
control with.

Does anyone know how this could work?

Thanks in advance

Raphael Boos
smorp@w-4.de
Technical Details
Message-ID: <36386465.49827F82@w-4.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104093,d2b72bced6a88268,start
X-Google-Attributes: gid104093,public
X-Google-Thread: 10b213,d2b72bced6a88268,start
X-Google-Attributes: gid10b213,public
X-Google-Thread: 10229f,d2b72bced6a88268,start
X-Google-Attributes: gid10229f,public
X-Google-Thread: ff48e,d2b72bced6a88268,start
X-Google-Attributes: gidff48e,public
From: Raphael Boos <smorp@w-4.de>
Subject: Subclassing of a control-array
Date: 1998/10/29
Message-ID: <36386465.49827F82@w-4.de>
X-Deja-AN: 406291162
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Newsgroups: microsoft.public.vb.winapi,microsoft.public.vb.controls,basicworld.public.vb.allgemein,basicworld.public.vb.tools