Freigeben über


CDocObjectServerItem::OnHide

Called by the framework to hide the item.

virtual void OnHide( );

Remarks

The default implementation throws an exception if the item is a DocObject. You cannot hide an active DocObject item because it takes the whole view. You must deactivate the DocObject item to make it disappear. If the item is not a DocObject, the default implementation calls COleServerItem::OnHide.

Requirements

Header: afxdocob.h

See Also

Concepts

CDocObjectServerItem Class

CDocObjectServerItem Members

Hierarchy Chart

CDocObjectServerItem::OnOpen

CDocObjectServerItem::OnShow