cbpporter Messages: 1401 Registered: September 2007
Ultimate Contributor
Sure!
I created a custom TreeCtrl. Normally, the tree control is designed for a single root kind of structure. Even when not displaying the root node, there is still a line pointing upwards and it looks like a tree.
My change is about making it behave like a list of trees. Each entry in that list is a root of a tree, but they do not have a parent. I also changed the way lines are displayed for children nodes, enhanced IMHO for minor aesthetics.
In my particular case, I use this tree control to display folders from a classpath. That's why some folders are amrked with an "x", to show that they are invalid.
I implemented this only changing a few lines in the TreeCtrl::Paint override.
If you wish, I can give you the exact members than need to be made protected.