CFrameWnd::GetActiveDocument

virtual CDocument* GetActiveDocument( );

Return Value

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

Remarks

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

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CFrameWnd::GetActiveView