Edit_CanUndo macro (windowsx.h)
Determines whether there are any actions in the undo queue of an edit or rich edit control. You can use this macro or send the EM_CANUNDO message explicitly.
Syntax
BOOL Edit_CanUndo(
HWND hwndCtl
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
Return value
Type: BOOL
TRUE if there are actions in the undo queue; otherwise FALSE.
Remarks
For more information, see EM_CANUNDO.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |