CImageList::operator HIMAGELIST

operator HIMAGELIST( ) const;

Return Value

If successful, a handle to the image list represented by the CImageList object; otherwise NULL.

Remarks

Use this operator to get the attached handle of the CImageList object. This operator is a casting operator, which supports direct use of an HIMAGELIST object.

Example

// The pointer to my image list.
extern CImageList* pmyImageList;

// Get the safe handle to the image list.
HIMAGELIST hImageList = *pmyImageList;

CImageList OverviewClass MembersHierarchy Chart