Help Center

CRichEditCtx.FirstVisibleLineproperty

Gets the zero-based index of the uppermost visible line in a rich edit control.

Windowspropertydocumented

Syntax

PROPERTY FirstVisibleLine () AS LONG

Return value

The return value is the zero-based index of the uppermost visible line in a multiline edit control.

For single-line rich edit controls, the return value is zero.

Description

Gets the zero-based index of the uppermost visible line in a multiline rich edit control.

Reference

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