title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM_CANUNDO message (Winuser.h) |
Determines whether there are any actions in an edit control's undo queue. You can send this message to either an edit control or a rich edit control. |
ae7ff372-b1f8-4ab7-9a7e-450aed3e0bc5 |
|
|
|
|
|
reference |
05/31/2018 |
Determines whether there are any actions in an edit control's undo queue. You can send this message to either an edit control or a rich edit control.
-
wParam
-
Not used; must be zero.
-
lParam
-
Not used; must be zero.
If there are actions in the control's undo queue, the return value is nonzero.
If the undo queue is empty, the return value is zero.
If the undo queue is not empty, you can send the EM_UNDO message to the control to undo the most recent operation.
Edit controls and Rich Edit 1.0: The undo queue contains only the most recent operation.
Rich Edit 2.0 and later: The undo queue can contain multiple operations.
Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|