CTreeView Class

Simplifies use of the tree control and of CTreeCtrl, the class that encapsulates tree-control functionality, with MFC's document-view architecture.

class CTreeView : public CCtrlView

Members

Public Constructors

Name

Description

CTreeView::CTreeView

Constructs a CTreeView object.

Public Methods

Name

Description

CTreeView::GetTreeCtrl

Returns the tree control associated with the view.

Remarks

For more information on this architecture, see the overview for the CView class and the cross-references cited there.

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CView

CCtrlView

CTreeView

Requirements

Header: afxcview.h

See Also

Reference

CCtrlView Class

Hierarchy Chart

CView Class

CCtrlView Class

CTreeCtrl Class