CImageList::Create

Call this member function to create an image list and attach it to the CImageList object.

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

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 );

At a Glance

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

See Also

CImageList Overview, CImageList Member Functions, Control Support Classes, CImageList::CImageList