Edit_Undo macro

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

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Show: