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


Call this member function to retrieve the window's top level frame window, if any.

CFrameWnd* GetTopLevelFrame( ) const;

Identifies the top-level frame window of the window.

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

If CWnd has no attached window, or its top-level parent is not a CFrameWnd-derived object, this function returns NULL.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.