CRichEditView::InsertFileAsObject

Call this function to insert the specified file (as a CRichEditCntrItem object) into a rich edit view.

void InsertFileAsObject(
   LPCTSTR lpszFileName 
);

Parameters

  • lpszFileName
    String containing the name of the file to be inserted.

Requirements

Header: afxrich.h

See Also

Concepts

CRichEditView Class

CRichEditView Members

Hierarchy Chart

CRichEditView::InsertItem

CRichEditCntrItem Class