CImageList::DeleteImageList
Call this function to delete an image list.
BOOL DeleteImageList( );
Return Value
Nonzero if successful; otherwise 0.
Example
// Delete the image list and verify.
myImageList2.DeleteImageList();
ASSERT(myImageList2.GetSafeHandle() == NULL);
Requirements
Header: afxcmn.h