EM_GETUNDONAME message
Microsoft Rich Edit 2.0 and later: Retrieves the type of the next undo action, if any.
Microsoft Rich Edit 1.0: This message is not supported.
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
Not used; must be zero.
Return value
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.
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 actions that can be undone.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- EM_GETREDONAME
- EM_REDO
- EM_UNDO
- UNDONAMEID
Send comments about this topic to Microsoft
Build date: 10/27/2012