Help Center

CRichEdit.CanUndomethod

Determines whether there are any actions in the rich edit control undo queue.

Windowsmethoddocumented

Syntax

FUNCTION CanUndo (BYVAL hRichEdit AS HWND) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.

Return value

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.

Description

Determines whether there are any actions in the rich edit control undo queue.

Reference

  • Defined in AfxNova/CRichEdit.inc:256
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class