CImageList::GetSafeHandle

Chiamare la funzione per recuperare il membro dati m_hImageList.

HIMAGELIST GetSafeHandle( ) const;

Valore restituito

Handle all'elenco immagini collegato; in caso contrario NULL se nessun oggetto è collegato.

Esempio

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

Requisiti

Header: afxcmn.h

Vedere anche

Riferimenti

Classe di CImageList

Grafico della gerarchia

CImageList::Attach

CImageList::Detach

CImageList::m_hImageList