Compartilhar via


COleClientItem::OnDeactivateUI

Called when the user deactivates an item that was activated in place.

virtual void OnDeactivateUI( 
   BOOL bUndoable  
);

Parameters

  • bUndoable
    Specifies whether the editing changes are undoable.

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::OnActivateUI

COleClientItem::OnDeactivateAndUndo

COleClientItem::OnDeactivate