Compartir a través de


CImageList::operator HIMAGELIST

Use this operator to get the attached handle of the CImageList object.

operator HIMAGELIST( ) const;

Return Value

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

Remarks

This operator is a casting operator, which supports direct use of an HIMAGELIST object.

Example

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

Requirements

Header: afxcmn.h

See Also

Concepts

CImageList Class

CImageList Members

Hierarchy Chart