MSDN Home >  MSDN Library >  User Interface Design and Development >  Windows Shell >  Windows Controls >  Individual Control Information >  Rich Edit Controls > 

EM_REDO Message


Send an EM_REDO message to a rich edit control to redo the next action in the control's redo queue.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_REDO,     // message ID
   (WPARAM) wParam,     // = (WPARAM) () wParam;
   (LPARAM) lParam     // = (LPARAM) () lParam;
);

Parameters

wParam
Not used; must be zero.
lParam
Not used; must be zero.

Return Value

If the Redo operation succeeds, the return value is a nonzero value.

If the Redo operation fails, the return value is zero.


Remarks

To determine whether there are any actions in the control's redo queue, send the EM_CANREDO message.

Message Information

HeaderDeclared in Richedit.h
Minimum operating systems Windows 95 with Rich Edit 2.0, Windows 98, Windows NT 4.0

See Also

Rich Edit Controls, EM_CANREDO, EM_GETREDONAME, EM_GETUNDONAME, EM_UNDO
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility