Does anyone know how to allow a user to resize a Treeview and/or a ListView by draging the edge to the left or right?
The Mav
Printable View
Does anyone know how to allow a user to resize a Treeview and/or a ListView by draging the edge to the left or right?
The Mav
So is this just not possible? Is there some type of resizable contain I might can use to accomplish this?
The Mav
What you need is some "splitter" code. You can either "roll your own", or find a usercontrol out there somewhere. To get you started, take a look at the code generated by the VB application wizard when you choose an "Explorer" style project. (Start VB and instead of "Standard EXE", choose "VB Application Wizard". Follow the Wizard and choose "Explorer Style" project. Take a look at the resulting code.)
A nice splitter control (FREE) can be found here:
http://www.desertware.com/vbuniverse/vbusplitter.html
That did EXACTLY what I needed. Strange I have never even looked at an "Explorer Style" project before.
Thanks,
The Mav