CImageList::Remove

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 OverviewClass MembersHierarchy Chart

See Also   CImageList::DeleteImageList