Share via


COleServerDoc::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 can be undone.

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.

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::OnDeactivate