Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Note
The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.
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
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