This documentation is archived and is not being maintained.

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

Show: