Code Comments
Programming Forum and web based access to our favorite programming groups.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?
Post Follow-up to this messagehi 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? > >
Post Follow-up to this messageTnx 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... > 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:
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.