This documentation is archived and is not being maintained.

CDocObjectServerItem::OnHide 

Called by the framework to hide the item.


virtual void OnHide( );

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.

Show: