CImageList::Add

This method adds one or more images or an icon to an image list.

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

int Add( CBitmap* pbmImage, CBitmap* pbmMask );
int Add( CBitmap*
pbmImage, COLORREF crMask );
int Add( HICON
hIcon );

int Add( CBitmap* pbmImage, CBitmap* pbmMask ); int Add( CBitmap* pbmImage, COLORREF crMask ); int Add( HICON hIcon );

See Also

CImageList::Remove, CImageList::Replace