共用方式為


CDocObjectServerItem::OnOpen

Called by the framework to instruct the server application to make the DocObject item in-place active.

virtual void OnOpen( );

Remarks

If the item is not a DocObject, the default implementation calls COleServerItem::OnOpen. Override this function if you want to perform special processing when opening a DocObject item.

Requirements

Header: afxdocob.h

See Also

Concepts

CDocObjectServerItem Class

CDocObjectServerItem Members

Hierarchy Chart

CDocObjectServerItem::OnHide

CDocObjectServerItem::OnShow