Edit_Undo macro (windowsx.h)

Undoes the last operation in the undo queue of an edit or rich edit control. You can use this macro or send the EM_UNDO message explicitly.

Syntax

BOOL Edit_Undo(
   HWND hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

Return value

Type: BOOL

For a single-line control, the return value is always TRUE. For a multiline control, the return value is TRUE if the undo operation is successful, or FALSE otherwise.

Remarks

For more information, see EM_UNDO.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h