Help Center

CEdit.CanUndomethod

Determines whether there are any actions in an edit control's undo queue.

WindowsmethodCEdit.incdocumented

Syntax

FUNCTION CanUndo (BYVAL hEdit AS HWND) AS BOOLEAN

Return value

If there are actions in the control's undo queue, the return value is true. If the undo queue is empty, the return value is false.

Description

Determines whether there are any actions in an edit control's undo queue.

Example

CEdit.CanUndo(hEdit)

Reference

  • Include file CEdit.inc
  • Defined in AfxNova/CEdit.inc:149
  • Documented in Windows/WIndows Controls/CEdit Class.md
  • Topic: CEdit Class