共用方式為


COleServerDoc::ActivateDocObject

Activates the associated DocObject document.

void ActivateDocObject( );

Remarks

By default, COleServerDoc does not support Active documents (also referred to as DocObjects). To enable this support, see GetDocObjectServer and class CDocObjectServer.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::IsDocObject

Other Resources

COleServerDoc Members