COleServerDoc::OnReactivateAndUndo

virtualBOOLOnReactivateAndUndo();

Return Value

Nonzero if successful; otherwise 0.

Remarks

The framework calls this function when the user chooses to undo changes made to an item that has been activated in place, changed, and subsequently deactivated. The default implementation does nothing except return FALSE to indicate failure.

Override this function if your application supports undo. Usually you would perform the undo operation, then activate the item by calling ActivateInPlace. If the container application is written with the Microsoft Foundation Class Library, calling COleClientItem::ReactivateAndUndo causes this function to be called.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::ActivateInPlace, COleServerDoc::IsInPlaceActive, COleClientItem::ReactivateAndUndo