共用方式為


CImageList::m_hImageList

A handle of the image list attached to this object.

HIMAGELIST m_hImageList;

Remarks

The m_hImageList data member is a public variable of type HIMAGELIST.

Example

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

Requirements

Header: afxcmn.h

See Also

Concepts

CImageList Class

CImageList Members

Hierarchy Chart

CImageList::Attach

CImageList::Detach