Many programmers rely on CTreeCtrl to help them view their applications. But the trouble they encounter is, always making sure that the tree is displaying their data correctly. This could be very annoying, writing it all in the dialog.Background
Well, my tree isn’t so nice looking, it really looks like an ordinary tree. But.. it [...]
Creating treeview menus on the fly from an XML file can be useful when the menu items are constantly being updated. For instance, when using an XML file as a database to store records in.
Here is a simple example of how to do this. The example is kept simple to avoid any [...]
Multiline text on the node text or subitem value.
TreeNode Checkboxes. The check box of the tree node doesn’t automatically appear when you set the CheckBoxes property of the MultiColumnTree object to true, it will only appear when the tree node is selected, on hover, or the value of the CheckState property is not [...]
Sometimes, we need a tree control that allows the user to select multiple items at a time, but this feature is not provided by the standard common controls. Thanks to Richard Hazlewood’s great article, this feature has been implemented nicely. However, Richard’s [...]
Once again, I present a small printing class I recently developed to allow me to print the content of a CTreeCtrl. The code in itself is contained within a small class from which you can inherit your view/dialog that needs to be able to print the content of a CTreeCtrl.So how do we use [...]