EM_CANREDO

[This is preliminary documentation and subject to change.]

Rich Edit 2.0 and later: Send an EM_CANREDO message to a rich edit control to determine whether there are any actions in the control's redo queue.

Rich Edit 1.0: This message is not supported.

EM_CANREDO 
wParam = 0;    // not used; must be zero 
lParam = 0 ;   // not used; must be zero 
 

Parameters

The parameters are not used; they must be zero.

Return Values

If there are actions in the control's redo queue, the return value is nonzero.

If the redo queue is empty, the return value is zero.

Remarks

To redo the most recent undo operation, send the EM_REDO message.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Messages, EM_GETREDONAME, EM_GETUNDONAME, EM_REDO, EM_UNDO