CRichEdit.GetRedoNamemethod
Retrieves the type of the next action, if any, in the control's redo queue.
Syntax
FUNCTION GetRedoName (BYVAL hRichEdit AS HWND) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
UID_UNKNOWN | 0 | |
UID_TYPING | 1 | |
UID_DELETE | 2 | |
UID_DRAGDROP | 3 | |
UID_CUT | 4 | |
UID_PASTE | 5 | |
UID_AUTOTABLE | 6 |
Return value
If the redo queue for the control is not empty, the value returned is an UNDONAMEID enumeration value that indicates the type of the next action in the control's redo queue.
If there are no redoable actions or the type of the next redoable action is unknown, the return value is zero.
Description
Retrieves the type of the next action, if any, in the rich edit control's redo queue.
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 redoable actions.
Reference
- Defined in AfxNova/CRichEdit.inc:614
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class