CWnd::GetSafeHwnd 

HWND GetSafeHwnd( ) const;

Return Value

Returns the window handle for a window. Returns NULL if the CWnd is not attached to a window or if it is used with a NULL CWnd pointer.

CWnd OverviewClass MembersHierarchy Chart