Share via


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

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::InsertItem

CRichEditCntrItem Class

Other Resources

CRichEditView Members