COleServerDoc::DeactivateAndUndo

BOOL DeactivateAndUndo( );

Return Value

Nonzero on success; otherwise 0.

Remarks

Call this function if your application supports Undo and the user chooses Undo after activating an item but before editing it. 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.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleClientItem::OnDeactivateAndUndo