Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CWnd::GetTopLevelFrame
Collapse the table of content
Expand the table of content

CWnd::GetTopLevelFrame

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

Community Additions

ADD
Show:
© 2015 Microsoft