다음을 통해 공유


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

Reference

CImageList Class

Hierarchy Chart

Other Resources

CImageList Members