Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 1.96 KB

ctreeview-class.md

File metadata and controls

77 lines (50 loc) · 1.96 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CTreeView Class
CTreeView Class
11/04/2016
CTreeView
AFXCVIEW/CTreeView
AFXCVIEW/CTreeView::CTreeView
AFXCVIEW/CTreeView::GetTreeCtrl
CTreeView [MFC], CTreeView
CTreeView [MFC], GetTreeCtrl
5df583a6-d69f-42ca-9d8d-57e04558afff

CTreeView Class

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

Syntax

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

CTreeView::CTreeView

Constructs a CTreeView object.

CTreeView();

CTreeView::GetTreeCtrl

Returns a reference to the tree control associated with the view.

CTreeCtrl& GetTreeCtrl() const;

See also

CCtrlView Class
Hierarchy Chart
CView Class
CCtrlView Class
CTreeCtrl Class