Skip to content

Latest commit

 

History

History
101 lines (81 loc) · 2.5 KB

File metadata and controls

101 lines (81 loc) · 2.5 KB
title CTreeView Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
CTreeView
AFXCVIEW/CTreeView
AFXCVIEW/CTreeView::CTreeView
AFXCVIEW/CTreeView::GetTreeCtrl
dev_langs
C++
helpviewer_keywords
directory lists
tree view controls
file lists [C++]
CTreeView class, common controls
CTreeView class
ms.assetid 5df583a6-d69f-42ca-9d8d-57e04558afff
caps.latest.revision 22
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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