We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Call this function to insert a CRichEditCntrItem object into a rich edit view.

HRESULT InsertItem(
   CRichEditCntrItem* pItem 


Pointer to the item to be inserted.

An HRESULT value indicating the success of the insertion.

For more information on HRESULT, see Structure of COM Error Codes in the Windows SDK.

Header: afxrich.h