[This is preliminary documentation and subject to change.]
Rich Edit 2.0 and later: Send an EM_GETUNDONAME message to a rich edit control to retrieve the type of the next undo action, if any.
Rich Edit 1.0: This message is not supported.
EM_GETUNDONAME
wParam = 0; // not used; must be zero
lParam = 0 ; // not used; must be zero
The parameters are not used; they must be zero.
If there is an undo action, the value returned is an UNDONAMEID enumeration value that indicates the type of the next action in the control's undo queue.
If there are no actions that can be undone or the type of the next undo action is unknown, the return value is zero.
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 actions that can be undone.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages, EM_GETREDONAME, EM_REDO, EM_UNDO, UNDONAMEID