IOleObjectImpl::DoVerbDiscardUndo

This method tells the control to discard any undo state it is maintaining.

Syntax

HRESULT DoVerbDiscardUndo( LPCRECT prcPosRect, HWND hwndParent );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IOleObjectImpl Overview, IOleObjectImpl Methods