CImageList::DeleteTempMap
Called automatically by the CWinApp idle-time handler, DeleteTempMap deletes any temporary CImageList objects created by FromHandle, but does not destroy any handles (hImageList) temporarily associated with the ImageList objects.
static void PASCAL DeleteTempMap( );
Example
// Note that this is a static member so an instantiated CImageList
// object is unnecessary.
CImageList::DeleteTempMap();
Requirements
Header: afxcmn.h