CImageList::Replace

Call this member function to replace an image in an image list with a new image.

Syntax

BOOL Replace( int nImage, CBitmap* pbmImage, CBitmap* pbmMask );

int Replace( int nImage, HICON hIcon );

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::Remove