Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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

© 2015 Microsoft