CListCtrl::Create

This method creates the list view control and attaches it to the CListCtrl object.

To construct a CListCtrl, call the constructor, then call Create.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

Remarks

Windows CE supports a new list view style, called LVS_OWNERDATA, that specifies a virtual list view control. Windows CE version prior to 2.0 do not support the LVS_OWNERDATA style. For information on supported list control styles, see the Windows and Control Styles chapter of the Windows CE SDK Guide.

See Also

CListCtrl::CListCtrl