COleServerDoc::OnDeactivateUI

virtual void OnDeactivateUI( BOOL bUndoable );

Parameters

bUndoable

Specifies whether the editing changes can be undone.

Remarks

Called when the user deactivates an item that was activated in place. This function restores the container application’s user interface to its original state, hiding any menus and other controls that were created for in-place activation.

The framework always sets bUndoable to FALSE. If the server supports undo and there is an operation that can be undone, call the base-class implementation with bUndoable set to TRUE.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::OnDeactivate