CRichEditView::GetDocument
Call this function to get a pointer to the CRichEditDoc associated with this view.
CRichEditDoc* GetDocument( ) const;
Return Value
Pointer to a CRichEditDoc object associated with your CRichEditView object.
Requirements
Header: afxrich.h