다음을 통해 공유


CDocObjectServer::ActivateDocObject

Call this function to activate (but not show) the document object server.

void ActivateDocObject( );

Remarks

ActivateDocObject calls IOleDocumentSite's ActivateMe method, but does not show the view because it waits for specific instructions on how to set up and display the view, given in the call to CDocObjectServer::OnActivateView.

Together, ActivateDocObject and OnActivateView activate and display the DocObject view. DocObject activation differs from other kinds of OLE in-place activation. DocObject activation bypasses displaying in-place hatch borders and object adornments (such as sizing handles), ignores object extent functions, and draws scroll bars within the view rectangle as opposed to drawing them outside that rectangle (as in normal in-place activation).

Requirements

Header: afxdocob.h

See Also

Concepts

CDocObjectServer Class

CDocObjectServer Members

Hierarchy Chart

CDocObjectServerItem Class