Поделиться через


COleServerDoc::OnDeactivateUI

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

virtual void OnDeactivateUI(
   BOOL bUndoable 
);

Параметры

  • bUndoable
    Specifies whether the editing changes can be undone.

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::OnDeactivate