CWnd::GetSafeHwnd

Restituisce m_hWnd, o NULL se il puntatore this è NULL.

HWND GetSafeHwnd( ) const;

Valore restituito

Restituisce l'handle della finestra per una finestra.Restituisce NULL se CWnd non è associato a una finestra o se utilizzata con un puntatore NULL CWnd.

Esempio

Vedere l'esempio relativo CWnd::SubclassWindow.

Requisiti

Header: afxwin.h

Vedere anche

Riferimenti

Classe CWnd

Grafico della gerarchia