Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.25 KB

ctreeview-class.md

File metadata and controls

80 lines (60 loc) · 2.25 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
CTreeView Class | Microsoft Docs
11/04/2016
cpp-windows
reference
CTreeView
AFXCVIEW/CTreeView
AFXCVIEW/CTreeView::CTreeView
AFXCVIEW/CTreeView::GetTreeCtrl
C++
CTreeView [MFC], CTreeView
CTreeView [MFC], GetTreeCtrl
5df583a6-d69f-42ca-9d8d-57e04558afff
22
mikeblome
mblome
ghogen

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