Upravit

Sdílet prostřednictvím


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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

EM_GETREDONAME

EM_REDO

EM_UNDO

UNDONAMEID