BOOL Remove( int nImage );
Return Value
Nonzero if successful; otherwise 0.
Parameters
nImage
Zero-based index of the image to remove.
Remarks
Call this function to remove an image from an image list object.
Example
// The pointer to my image list.
extern CImageList* pmyImageList;
// Remove every other image from the image list.
for (int i=0;i < pmyImageList->GetImageCount();i++)
{
pmyImageList->Remove(i);
}
CImageList Overview | Class Members | Hierarchy Chart
See Also CImageList::DeleteImageList