EM_GETREDONAME

[This is preliminary documentation and subject to change.]

Rich Edit 2.0 and later: Send an EM_GETREDONAME message to a rich edit control to retrieve the type of the next action, if any, in the control's redo queue.

Rich Edit 1.0: This message is not supported.

EM_GETREDONAME 
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 the control's redo queue is not empty, the value returned is an UNDONAMEID enumeration value that indicates the type of the next action in the control's redo queue.

If there are no redoable actions or the type of the next redoable action is unknown, the return value is zero.

Remarks

The types of actions that can be undone or redone include typing, delete, drag-drop, cut, and paste operations. This information can be useful for applications that provide an extended user interface for undo and redo operations, such as a drop-down list box of redoable actions.

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_GETUNDONAME, EM_REDO, EM_UNDO, UNDONAMEID