COleClientItem::OnDeactivateUI

virtual void OnDeactivateUI( BOOL bUndoable );

Parameters

bUndoable

Specifies whether the editing changes are undoable.

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.

If bUndoable is FALSE, the container should disable the undo command, in effect discarding the undo state of the container, because it indicates that the last operation performed by the server is not undoable.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::OnActivateUI, COleClientItem::OnDeactivateAndUndo, COleClientItem::OnDeactivate