CRichEditView::GetDocument
Call this function to get a pointer to the CRichEditDoc associated with this view.
CRichEditDoc* GetDocument( ) const;
Возвращаемое значение
Pointer to a CRichEditDoc object associated with your CRichEditView object.
Требования
Header: afxrich.h