Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Richedit.h

See also

Reference
EM_GETREDONAME
EM_REDO
EM_UNDO
UNDONAMEID

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.