Help Center

CTextDocument2.Updatemethod

Updates the selection and caret.

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

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