CWnd::GetParentFrame

Call this member function to retrieve the parent frame window.

CFrameWnd* GetParentFrame( ) const;

Возвращаемое значение

A pointer to a frame window if successful; otherwise NULL.

Заметки

The member function searches up the parent chain until a CFrameWnd (or derived class) object is found.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetDescendantWindow

CWnd::GetParent

CFrameWnd::GetActiveView