Environment: VC6, MFC
This project was written to provide you with a Tree List to put on any CView. It supports images, checkboxes, and all the functionality of both CTree and CList Controls. It automatically resizes itself when the user changes the window that has been attached to it. Clicking on the List Header will sort the tree either in ascending or descensding order. Each cell is also editable and can have either an edit box or a combo box for this purpose.
Just have a look at the accompanying code; if you have any problems, don't hesitate to e-mail me. All source code is provided in zips below. Just download and enjoy!
DownloadsDownload demo project - 24 Kb
Download source - 69 Kb