CWnd::GetTopLevelOwner
Visual Studio .NET 2003
Call this member function to retrieve the top-level window.
CWnd* GetTopLevelOwner( ) const;
Return Value
Identifies the top-level window. The returned pointer may be temporary and should not be stored for later use.
Remarks
The top-level window is the window that is a child of the desktop. If CWnd has no attached window, this function returns NULL.
See Also
CWnd Overview | Class Members | Hierarchy Chart | CWnd::GetTopLevelFrame | CWnd::GetTopLevelParent