| title |
CTreeView Class | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| f1_keywords |
CTreeView |
AFXCVIEW/CTreeView |
AFXCVIEW/CTreeView::CTreeView |
AFXCVIEW/CTreeView::GetTreeCtrl |
|
| dev_langs |
|
| 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 |
|
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
Remarks
For more information on this architecture, see the overview for the CView class and the cross-references cited there.
CObject
CCmdTarget
CWnd
CView
CCtrlView
CTreeView
Header: afxcview.h
Constructs a CTreeView object.
Returns a reference to the tree control associated with the view.
CTreeCtrl& GetTreeCtrl() const;
CCtrlView Class
Hierarchy Chart
CView Class
CCtrlView Class
CTreeCtrl Class