The masked edit control can undo previous user actions (such as entering text). Up to 16 actions can be reversed.
By right-clicking on the edit control, a popup menu is displayed which allows the user to select "Undo".
An application can use the CanUndo function to test if any actions can be reversed. The EmptyUndo function discards all stored undo actions, for example after programmatically replacing the control's contents.
See Also CanUndo | EmptyUndo | Keyboard & Mouse Interface