This documentation is archived and is not being maintained.


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.