CRichEditCtrl::SetUndoLimit
Sets the maximum number of actions that can stored in the undo queue.
UINT SetUndoLimit(
UINT nLimit
);
Параметры
- nLimit
Specifies the maximum number of actions that can be stored in the undo queue. Set to zero to disable Undo.
Возвращаемое значение
The new maximum number of undo actions for the rich edit control.
Заметки
By default, the maximum number of actions in the undo queue is 100. If you increase this number, there must be enough available memory to accommodate the new number. For better performance, set the limit to the smallest possible value.
Требования
Header: afxcmn.h