Поделиться через


CRichEditCntrItem::CRichEditCntrItem

Call this function to create a CRichEditCntrItem object and add it to the container document.

CRichEditCntrItem(
   REOBJECT* preo = NULL,
   CRichEditDoc* pContainer = NULL 
);

Параметры

  • 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 client item is empty.

  • pContainer
    Pointer to the container document that will contain this item. If pContainer is NULL, you must explicitly call COleDocument::AddItem to add this client item to a document.

Заметки

This function does not perform any OLE initialization.

For more information, see the REOBJECT structure in the Windows SDK.

Требования

Header: afxrich.h

См. также

Основные понятия

CRichEditCntrItem Class

CRichEditCntrItem Members

Hierarchy Chart

COleDocument::AddItem

CRichEditDoc Class