WM_UNDO
An application sends the WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control, the previously deleted text is restored or the previously added text is deleted.
This message has no parameters.
The return value is nonzero if the operation is successful, or it is zero if an error occurs.