Deutsche Version
This demo shows how a tree view with an additional list view could be
implemented.
Features:
The window messages are compatible the tree control of the common controls.
Alternated colors for each line.
The color, style and icon could be set for each item sepperate.
MFC class is also implemented (CTreeCtrl is the base class)
An index access is implemented, so you can get the item of a line.
A user data field could be added to each item.
It is pssible to combine several cells to a single cell.
Auto-Edit option with text tabels for combo boxes.
It is possible to move items automatically via darg&drop.
Sorting the sub columns with drag & drop.
It is possible to hide single items.
A Callback function for the Owner-Draw-Option could defined.
The main source code is in the file TreeListWnd.cpp. The MFC class is in the TreeListCtrl.cpp file.
Anton Zechner |