共用方式為


CListView Class

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

class CListView : public CCtrlView

Members

Public Constructors

Name

Description

CListView::CListView

Constructs a CListView object.

Public Methods

Name

Description

CListView::GetListCtrl

Returns the list control associated with the view.

Protected Methods

Name

Description

CListView::RemoveImageList

Removes the specified image list from the list 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

CListView

Requirements

Header: afxcview.h

See Also

Reference

CCtrlView Class

Hierarchy Chart

CCtrlView Class

Concepts

MFC Sample ROWLIST