Help Center

CRichEditCtx.LineScrollmethod

Scrolls the text in a multiline rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION LineScroll (BYVAL y AS LONG) AS LONG

Parameters

NameDescription
yThe number of lines to scroll vertically.

Return value

TRUE or FALSE.

Description

Scrolls the text in a multiline rich edit control.

Remarks

The control does not scroll vertically past the last line of text in the edit control. If the current line plus the number of lines specified by the y parameter exceeds the total number of lines in the edit control, the value is adjusted so that the last line of the edit control is scrolled to the top of the edit-control window.

Reference

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