COleServerDoc::OnShowDocument

virtualvoidOnShowDocument(BOOLbShow**);**

Parameters

bShow

Specifies whether the user interface to the document is to be shown or hidden.

Remarks

The framework calls the OnShowDocument function when the server document must be hidden or shown. If bShow is TRUE, the default implementation activates the server application, if necessary, and causes the container application to scroll its window so that the item is visible. If bShow is FALSE, the default implementation deactivates the item through a call to OnDeactivate, then destroys or hides all frame windows that have been created for the document, except the first one. If no visible documents remain, the default implementation hides the server application.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::ActivateInPlace, COleServerItem::OnDoVerb, COleServerDoc::IsInPlaceActive, COleServerDoc::OnDeactivateUI