共用方式為


IOleObjectImpl::OnPostVerbDiscardUndo

Called by DoVerbDiscardUndo after the undo state is discarded.

HRESULT OnPostVerbDiscardUndo( );

Return Value

Returns S_OK.

Remarks

Override this method with code you want executed after the undo state is discarded.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

IOleObjectImpl::DoVerbDiscardUndo

IOleObjectImpl::OnPreVerbDiscardUndo