Call this member function to obtain a pointer to the current CDocument attached to the current active view.
virtual CDocument* GetActiveDocument( );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows, CFrameWnd::GetActiveView, CDocument