Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CTreeCtrl Class
Collapse the table of content
Expand the table of content

CTreeCtrl Class 

Provides the functionality of the Windows common tree view control.

class CTreeCtrl : public CWnd

A "tree view control" is a window that displays a hierarchical list of items, such as the headings in a document, the entries in an index, or the files and directories on a disk. Each item consists of a label and an optional bitmapped image, and each item can have a list of subitems associated with it. By clicking an item, the user can expand and collapse the associated list of subitems.

This control (and therefore the CTreeCtrl class) is available only to programs running under Windows 98 and Windows NT version 4 and later.

For more information on using CTreeCtrl, see:

Header: afxcmn.h

Community Additions

© 2015 Microsoft