CWnd::GetSafeOwner

Call this member function to obtain a pointer to the owner window that should be used for dialog boxes or other modal windows.

Syntax

CWnd* PASCAL GetSafeOwner( CWnd* pParent, HWND* pWndTop );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories