Udostępnij za pośrednictwem


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

See Also

Reference

CImageList Class

Hierarchy Chart

CImageList::Detach

Other Resources

CImageList Members