🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get text from Treeview & get window events

#8362
From: Remy Lebeau (TeamB)
Date: Wed, 03 Nov 2004 18:01
14 lines
1679 bytes
"Segal" <none@none.spam.sucks.balls> wrote in message
news:4188fa4e$1@newsgroups.borland.com...

> I know how to sub class a control thats /in/ my BCB (BCB5Ent)
> app, buthow in the world do you sub class a control (a foreign
> plain ol' treeview) in another program (after SetWindowsHookEx'ing
> it) ?

The same way you can in your local program - via SetWindowsLong() using the
GWL_WNDPROC flag to specify a new window procedure for the target window.


Gambit
Technical Details
Message-ID: <41891cbe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <417fdf69$1@newsgroups.borland.com> <417fe585$1@newsgroups.borland.com> <4180082f$1@newsgroups.borland.com> <41800b0c$1@newsgroups.borland.com> <418020e9$1@newsgroups.borland.com> <418036ae$1@newsgroups.borland.com> <41805dc8@newsgroups.borland.com> <f48b8b09.0411021424.678d64ce@posting.google.com> <4188fa4e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,490c03cee5f5091
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: <417fdf69$1@newsgroups.borland.com> <417fe585$1@newsgroups.borland.com> <4180082f$1@newsgroups.borland.com> <41800b0c$1@newsgroups.borland.com> <418020e9$1@newsgroups.borland.com> <418036ae$1@newsgroups.borland.com> <41805dc8@newsgroups.borland.com> <f48b8b09.0411021424.678d64ce@posting.google.com> <4188fa4e$1@newsgroups.borland.com>
Subject: Re: Get text from Treeview & get window events
Date: Wed, 3 Nov 2004 10:01:40 -0800
Lines: 16
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: <41891cbe$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099504830 68.69.17.41 (3 Nov 2004 10:00:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail