Help Center

CRichEditCtx.Updatemethod

Updates the selection and caret.

Windowsmethoddocumented

Syntax

FUNCTION Update (BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
ValueScroll flag. Use tomTrue to scroll the caret into view.

Return value

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Description

Updates the selection and caret.

Reference

  • Defined in AfxNova/CRichEditCtx.inc:4821
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class