🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get text from Treeview & get window events

#8385
From: Remy Lebeau (TeamB)
Date: Wed, 27 Oct 2004 20:55
24 lines
1909 bytes
"Segal" <none@none.spam.sucks.balls> wrote in message
news:4180082f$1@newsgroups.borland.com...

> Thank you very much for replying. I have never done
> this before, are there any examples?

Go to http://www.deja.com or http://www.mers.com and search through the
newsgroup archives.

> I'm not getting how I would get notified? Would I use some
> sort of call back function, to make it "event driven" ?

Yes.  That is what hooks are - callback functions when things happen.

> So I would have to poll it ever so often?

No.  If you set up a hook to be able to query the TreeView in the first
place, then that same code can also subclass the TreeView since it is
already running from within the foriegn process.  Just make sure to remove
the subclassing before you remove your hook.


Gambit
Technical Details
Message-ID: <41800b0c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!diablo.voicenet.com!38.119.100.83.MISMATCH!news-out1.nntp.be!propagator2-sterling!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <417fdf69$1@newsgroups.borland.com> <417fe585$1@newsgroups.borland.com> <4180082f$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>
Subject: Re: Get text from Treeview & get window events
Date: Wed, 27 Oct 2004 13:55:30 -0700
Lines: 26
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: <41800b0c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098910476 68.69.17.41 (27 Oct 2004 13:54:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!diablo.voicenet.com!38.119.100.83.MISMATCH!news-out1.nntp.be!propagator2-sterling!in.nntp.be!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail