Export (0) Print
Expand All
Expand Minimize


Constructs a COleClientItem object and adds it to the container document's collection of document items, which constructs only the C++ object and does not perform any OLE initialization.

   COleDocument* pContainerDoc = NULL  


Pointer to the container document that will contain this item. This can be any COleDocument derivative.

If you pass a NULL pointer, no addition is made to the container document. You must explicitly call COleDocument::AddItem.

You must call one of the following creation member functions before you use the OLE item:

Header: afxole.h

© 2015 Microsoft