|
-
February 13th, 1999, 03:11 PM
#1
Are you capable of implementing a TreeList in VB?
I've seen a few MFC examples of how to do this but nothing in VB. What I'm talking about is how to create a control that is a combination of the TreeView and ListView. Basically a ListView that is capable of having multiple column headers with the ability to expand/collape as well as indent rows. I guess the most popular example is used in Outlook Express to view message headers.
noel
-
February 14th, 1999, 01:13 PM
#2
Re: Are you capable of implementing a TreeList in VB?
Hi Noel
It is possible in VB to create a treelist like the example on the MFC CodeGuru site. It just takes a lot of work (I did start converting the application into VB but gave up due to other concerns - like work).
I may start to rewrite it once again (as an ActiveX control) as I do think it's a pretty cool control.
The window in Outlook Express is actually a standard ListView control with the items being indented (you can see an example of this in VB on this site - I think the example is called frmIndentListView - by myself).
If you want to add the +/- icons though - that's going to take a bit of work. You'll have to use the listview in 'virutal' mode (or whatever it's called) where it asks you for data through a callback.
Regards
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
-
February 14th, 1999, 05:45 PM
#3
Re: Are you capable of implementing a TreeList in VB?
Chris, thanks for the response. I would be very interested to see that control if you get around to rewriting it again!
Noel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|