CImageList::Create

This method creates an image list and attach it to the CImageList object.

To construct a CImageList object, 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( int cx, int cy, BOOL bMask, int nInitial, int nGrow );
BOOL Create( UINT
nBitmapID, int cx, int nGrow, COLORREF crMask );
BOOL Create( LPCTSTR lpszBitmapID, int cx, int nGrow,
COLORREF
crMask ); BOOL Create( CImageList& imagelist1, int nImage1,
CImageList&
imagelist2, int nImage2, int dx, int dy );

See Also

CImageList::CImageList