Edit_EmptyUndoBuffer macro

Resets the undo flag of an edit or rich edit control. The undo flag is set whenever an operation within the edit control can be undone. You can use this macro or send the EM_EMPTYUNDOBUFFER message explicitly.

Syntax


void Edit_EmptyUndoBuffer(
   HWND hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

Return value

No return value.

Remarks

For more information, see EM_EMPTYUNDOBUFFER.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Show: