Click here to Skip to main content
15,867,939 members
Articles / Desktop Programming / MFC

Extended Tree List Control

Rate me:
Please Sign up or sign in to vote.
2.47/5 (12 votes)
12 Jun 2001 127.8K   7.1K   49   4
A Tree List/Tool Tip control embedded within a CView

Sample Image - TreeList.jpg

Overview

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 user changes the window it has been attached to it. Clicking on the List Header will sort the tree either in ascending or descending order. Just have a look at the attached code and if you have any problems, don't hesitate to leave a comment below. All source code is provided in zips below. Just download and enjoy ! :)

License

This article has no explicit license attached to it, but may contain usage terms in the article text or the download files themselves. If in doubt, please contact the author via the discussion board below.

A list of licenses authors might use can be found here.


Written By
Software Developer (Senior) Hamilton Grant
United Kingdom United Kingdom
I like to program because I'm good at it!

My latest websites and products areas follows:

Younique products

Join Younique

Book a hotel by finding Group hotel bookings.

Comments and Discussions

 
Questionquestion Pin
Atom_mio15-Apr-13 14:40
Atom_mio15-Apr-13 14:40 
QuestionWtf kinda class is this ? Pin
Dan Clark29-Jan-04 10:17
Dan Clark29-Jan-04 10:17 
Why would you explicitly reference your view and doc ptrs all through out your TreeCtrl class ? If anyone wants to use it, they would have to remove every reference. Ugh, you get a zero from me. Thats egregious !



My kickass website !


@{${$dan}{c}{clark}}[1]


GeneralEdit Cells Pin
z801-Apr-03 2:47
z801-Apr-03 2:47 
Generalstatus bars dissapear Pin
jlechem17-Jan-03 19:24
jlechem17-Jan-03 19:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.