HIMAGELIST GetSafeHandle( ) const;
Return Value
A handle to the attached image list; otherwise NULL if no object is attached.
Remarks
Call this function to retrieve the m_hImageList data member.
Example
// The pointer to my image list.
extern CImageList* pmyImageList;
// Get the safe handle to the image list.
HIMAGELIST hImageList = pmyImageList->GetSafeHandle();
CImageList Overview | Class Members | Hierarchy Chart
See Also CImageList::Attach, CImageList::Detach, CImageList::m_hImageList