Поделиться через


CFrameWnd::GetActiveDocument

Call this member function to obtain a pointer to the current CDocument attached to the current active view.

virtual CDocument* GetActiveDocument( );

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

A pointer to the current CDocument. If there is no current document, returns NULL.

Требования

Header: afxwin.h

См. также

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

CFrameWnd Class

CFrameWnd Members

Hierarchy Chart

CFrameWnd::GetActiveView