' to undo in QRichEdit, ' include win32api.inc in your project, then... SENDMESSAGE RichEdit.Handle, &H304, 0, 0 ' replace RichEdit with your richedit name