|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
use SysTreeView32I 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? 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: Show quoteHide quote > 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? > > 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 Show quoteHide quote "mr_unreliable" <kindlyReplyToNewsgr***@notmail.com> escribió en el mensaje news:uqsrhtWYFHA.3188@TK2MSFTNGP09.phx.gbl... > 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? |
|||||||||||||||||||||||