Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CWnd::GetTopLevelParent

Call this member function to retrieve the window's top-level parent.

CWnd* GetTopLevelParent( ) const;

Identifies the top-level parent window of the window.

The returned pointer may be temporary and should not be stored for later use.

GetTopLevelParent is similar to GetTopLevelFrame and GetTopLevelOwner; however, it ignores the value set as the current owner window.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.