BCGControlBar Pro for MFC
virtual void CBCGPEditCtrl::SetLastUndoReason ( DWORD  dwUndoReason)

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.

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