CListCtrl::Create

Call this member function to create the list view control and attaches it to the CListCtrl object.

You construct a CListCtrl in two steps. First call the constructor, then call Create.

Syntax

BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE supports a new list view style, called LVS_OWNERDATA, that specifies a virtual list view control. For information about how to use this style, see New Features for List Views and Virtual List View Overview. Windows CE version prior to 2.0 don't support the LVS_OWNERDATA style. For information on supported list control styles, see List View Styles.

See Also

CListCtrl Overview, CListCtrl Member Functions, Control Classes, CListCtrl::CListCtrl