🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get text from Treeview & get window events

#8360
From: Segal
Date: Wed, 03 Nov 2004 15:35
57 lines
3486 bytes
Al MacHonahey wrote:
> "Segal" <none@none.spam.sucks.balls> wrote in message
> news:<41805dc8@newsgroups.borland.com>...
>> Remy Lebeau (TeamB) wrote:
>>> "Segal" <none@none.spam.sucks.balls> wrote in message
>>> news:418020e9$1@newsgroups.borland.com...
>>>
>>>
>>>> I don't like wasting anyone's time, and I'm not a free loader
>>>> who doesn't want to seach, (I have been, google groups as
>>>> well as some web searchs (google web) centering around
>>>> win api, but I just can't find a good example of how to do
>>>> something liek this.)
>>>
>>> Then you are not doing the right searches, because sample code has
>>> been posted several times before.  Search for SetWindowsHookEx()
>>> specifically.
>>
>> Yes there is code for using SetWindowsHookEx, but I just can't find
>> anyting that show how to set everyting up to be abel to comunicate
>> between BCB app and the DLD I would need. Again, i am really new to
>> this sort of thing, and I really need some help.
>
> I was trying to do the same thing some time ago. I had to give up
> becuase I wasn't enable to find a way to do it.
>
> Example of SetWindowsHookEx aren't hard to find, it's the sub classing
> of a foreign control (ie, the tree view you're trying to snag control
> of.) And Getting your BCB program to interact with all this.
>
> Remy, or any other TEAM B, if you know how to do this, PLEASE help us!

Yes please help, I just cant quite figure this out. Al pretty much
nailed it on the head for me as well:

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) ?

And "Getting your BCB program to interact with all this" also describes
my problem as well.

I'd post some of my code I've tried but it isn't much and it's a WinAPI
mess right now.

Not that I'm a poor programmer, I've very proficient in C, C++, Java,
Perl, and the likes. I've used the WinAPI many times before, but never
quite like this.

All I ask is for a little example code to get me going in the right
direction. I will understand example code of this nature rather well and
learn from it.

It's hard to just dive into something this complicated almost blind ya
know? :-)

Remy, or someone, please help!
Technical Details
Message-ID: <4188fa4e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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: <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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,490c03cee5f5091
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Segal" <none@none.spam.sucks.balls>
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>
Subject: Re: Get text from Treeview & get window events
Date: Wed, 3 Nov 2004 07:35:29 -0800
Lines: 59
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: 66.234.219.101
Message-ID: <4188fa4e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099496014 66.234.219.101 (3 Nov 2004 07:33:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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