CRichEditDoc::CreateClientItem

virtual CRichEditCntrItem* CreateClientItem( REOBJECT* preo = NULL ) const = 0;

Return Value

Pointer to a new CRichEditCntrItem object which has been added to this document.

Parameters

preo

Pointer to an REOBJECT structure which describes an OLE item. The new CRichEditCntrItem object is constructed around this OLE item. If preo is NULL, the new client item is empty.

Remarks

Call this function to create a CRichEditCntrItem object and add it to this document. This function does not perform any OLE initialization.

For more information, see the REOBJECT structure in the Win32 documentation.

CRichEditDoc OverviewClass MembersHierarchy Chart

See Also   CRichEditCntrItem::CRichEditCntrItem, COleDocument::AddItem