Export (0) Print
Expand All
MFC
Expand Minimize

CRichEditCtrl::SetUndoLimit 

Sets the maximum number of actions that can stored in the undo queue.


UINT SetUndoLimit(
   UINT nLimit 
);

Parameters

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.

Community Additions

ADD
Show:
© 2014 Microsoft