다음을 통해 공유


CImageList::GetSafeHandle

가져오려면이 함수를 호출 하는 m_hImageList 데이터 멤버입니다.

HIMAGELIST GetSafeHandle( ) const;

반환 값

연결 된 이미지 목록에 대 한 핸들입니다. 그렇지 않으면 NULL 개체가 연결 되어 있는 경우.

예제

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

요구 사항

헤더: afxcmn.h

참고 항목

참조

CImageList 클래스

계층 구조 차트

CImageList::Attach

CImageList::Detach

CImageList::m_hImageList