CWnd::GetSafeHwnd

Syntax

HWND GetSafeHwnd() const;

Return Value

Returns m_hWnd, or NULL if this is NULL.