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


COleServerDoc::DeactivateAndUndo

Call this function if your application supports Undo and the user chooses Undo after activating an item but before editing it.

BOOL DeactivateAndUndo( );

Возвращаемое значение

Nonzero on success; otherwise 0.

Заметки

If the container application is written using the Microsoft Foundation Class Library, calling this function causes COleClientItem::OnDeactivateAndUndo to be called, which deactivates the server's user interface.

Требования

Header: afxole.h

См. также

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

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleClientItem::OnDeactivateAndUndo