Call this member function to replace an image in an image list with a new image.
BOOL Replace( int nImage, CBitmap* pbmImage, CBitmap* pbmMask );
int Replace( int nImage, HICON hIcon );
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CImageList Overview, CImageList Member Functions, Control Support Classes, CImageList::Remove