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


COleServerDoc::OnReactivateAndUndo

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.

virtual BOOL OnReactivateAndUndo( );

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

Nonzero if successful; otherwise 0.

Заметки

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.

Требования

Header: afxole.h

См. также

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

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::ActivateInPlace

COleServerDoc::IsInPlaceActive

COleClientItem::ReactivateAndUndo