Upravit

Sdílet prostřednictvím


UNDONAMEID enumeration (richedit.h)

Contains values that indicate types of rich edit control actions that can be undone or redone. The EM_GETREDONAME and EM_GETUNDONAME messages use this enumeration type to return a value.

Syntax

typedef enum _undonameid {
  UID_UNKNOWN = 0,
  UID_TYPING = 1,
  UID_DELETE = 2,
  UID_DRAGDROP = 3,
  UID_CUT = 4,
  UID_PASTE = 5,
  UID_AUTOTABLE = 6
} UNDONAMEID;

Constants

 
UID_UNKNOWN
Value: 0
The type of undo action is unknown.
UID_TYPING
Value: 1
Typing operation.
UID_DELETE
Value: 2
Delete operation.
UID_DRAGDROP
Value: 3
Drag-and-drop operation.
UID_CUT
Value: 4
Cut operation.
UID_PASTE
Value: 5
Paste operation.
UID_AUTOTABLE
Value: 6
Automatic table insertion; for example, typing +---+---+<Enter> to insert a table row.

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

EM_GETREDONAME

EM_GETUNDONAME

Reference