Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
CWnd* GetTopLevelParent( ) const;
Return Value
Identifies the top-level parent window of the window.
The returned pointer may be temporary and should not be stored for later use.
Remarks
Call this member function to retrieve the window’s top-level parent. GetTopLevelParent is similar to GetTopLevelFrame and GetTopLevelOwner; however, it ignores the value set as the current owner window.
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::GetTopLevelOwner, CWnd::GetTopLevelFrame, CWnd::GetOwner, CWnd::SetOwner