Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by DoVerbDiscardUndo before the undo state is discarded.
HRESULT OnPreVerbDiscardUndo( );
Return Value
Returns S_OK.
Remarks
To prevent the undo state from being discarded, override this method to return an error HRESULT.
Requirements
Header: atlctl.h
See Also
Reference
IOleObjectImpl::DoVerbDiscardUndo
IOleObjectImpl::OnPostVerbDiscardUndo