CImageList::GetSafeHandle
Call this function to retrieve the m_hImageList data member.
HIMAGELIST GetSafeHandle( ) const;
Return Value
A handle to the attached image list; otherwise NULL if no object is attached.
Example
// Get the safe handle to the image list.
HIMAGELIST hImageList = m_myImageList.GetSafeHandle();
Requirements
Header: afxcmn.h