Export (0) Print
Expand All


Call this function to get a pointer to the view's document.

CDocument* GetDocument( ) const;

A pointer to the CDocument object associated with the view. NULL if the view is not attached to a document.

This allows you to call the document's member functions.

Header: afxwin.h

© 2014 Microsoft