EM_EMPTYUNDOBUFFER message
Resets the undo flag of an edit control. The undo flag is set whenever an operation within the edit control can be undone. You can send this message to either an edit control or a rich edit control.
Parameters
-
wParam
-
Not used; must be zero.
-
lParam
-
Not used; must be zero.
Return value
This message does not return a value.
Remarks
The undo flag is automatically reset whenever the edit control receives a WM_SETTEXT or EM_SETHANDLE message.
Edit controls and Rich Edit 1.0: The control can only undo or redo the most recent operation.
Rich Edit 2.0 and later: The EM_EMPTYUNDOBUFFER message empties all undo and redo buffers. Rich edit controls enable the user to undo or redo multiple operations.
Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
-
Reference
-
Other Resources