Home > Archive > Visual Basic > May 2005 > use SysTreeView32
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| JLuis Estrada 2005-05-25, 8:55 pm |
| I need a dialog box like the ones showed in win XP for view all folders.
Does anyone knows how to use the SysTreeView32 in my App?
| |
| mr_unreliable 2005-05-25, 8:55 pm |
| hi JLuis,
Using Google, you can no doubt find lots of code samples, showing how
to create a treeview from scratch. Here are two.
Brad Martinez' treeview sample, a little old, but still a classic.
http://btmtz.mvps.org/treeview/
Also, there is Klaus Protst's treeview code, (along with lots of other
stuff) in his "vbBox Framework". What you look for is the
modCBTreeView.bas module, which contains all the constant and typedef
definitions for the treeview control. Then look for the
cTreeViewCtl.cls class code. The idea here is to instantiate a copy
of the class code for each treeview you wish to place on your form.
The vbBox framework may be found here:
http://www.vbbox.com/vb/codebox/
If you are a "plain vanilla" vb coder, then just include the
comctl32.ocx in your project, and use Microsoft's (vb) version of
the treeview. (However, according to the "experts", Microsoft's ocx
doesn't provide all the functionality of the treeview control).
cheers, jw
JLuis Estrada wrote:
> I need a dialog box like the ones showed in win XP for view all folders.
>
> Does anyone knows how to use the SysTreeView32 in my App?
>
>
| |
| JLuis Estrada 2005-05-26, 3:56 pm |
| Tnx so much, I tried and they work so fine, well, except the one from
brad, that sample is not thtat good
but tnx for the answer
"mr_unreliable" <kindlyReplyToNewsgroup@notmail.com> escribió en el mensaje
news:uqsrhtWYFHA.3188@TK2MSFTNGP09.phx.gbl...[color=darkred]
> hi JLuis,
>
> Using Google, you can no doubt find lots of code samples, showing how
> to create a treeview from scratch. Here are two.
>
> Brad Martinez' treeview sample, a little old, but still a classic.
>
> http://btmtz.mvps.org/treeview/
>
> Also, there is Klaus Protst's treeview code, (along with lots of other
> stuff) in his "vbBox Framework". What you look for is the
> modCBTreeView.bas module, which contains all the constant and typedef
> definitions for the treeview control. Then look for the cTreeViewCtl.cls
> class code. The idea here is to instantiate a copy
> of the class code for each treeview you wish to place on your form.
> The vbBox framework may be found here:
>
> http://www.vbbox.com/vb/codebox/
>
> If you are a "plain vanilla" vb coder, then just include the comctl32.ocx
> in your project, and use Microsoft's (vb) version of
> the treeview. (However, according to the "experts", Microsoft's ocx
> doesn't provide all the functionality of the treeview control).
>
> cheers, jw
>
> JLuis Estrada wrote:
|
|
|
|
|