BCGSoft Professional Editor for MFC
virtual void CBCGPEditCtrl::SetLastUndoReason ( DWORD  dwUndoReason)
inlinevirtual

Sets the last undo reason

See GetLastUndoReason() for the complete list of undo action types.

The last undo reason is set whenever the text in the edit control is altered and this causes a new undo action to be added.

Parameters
dwUndoReasonSpecifies undo action type to set (one of g_dwUAT values).