Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDocObjectServerItem Class
Collapse the table of content
Expand the table of content

CDocObjectServerItem Class

Implements OLE server verbs specifically for DocObject servers.

class CDocObjectServerItem : public COleServerItem

CDocObjectServerItem defines overridable member functions: OnHide, OnOpen, and OnShow.

To use CDocObjectServerItem, assure that the OnGetEmbeddedItem override in your COleServerDoc-derived class returns a new CDocObjectServerItem object. If you need to change any functionality in your item, you can create a new instance of your own CDocObjectServerItem-derived class.

For further information on DocObjects, see CDocObjectServer and COleCmdUI in the MFC Reference. Also see Internet First Steps: Active Documents and Active Documents.

Header: afxdocob.h

Community Additions

ADD
Show:
© 2015 Microsoft