Help Center

CRichEditCtx.ExLineFromCharmethod

Determines which line contains the specified character in a rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION ExLineFromChar (BYVAL iIndex AS LONG) AS LONG

Parameters

NameDescription
iIndexZero-based index of the character.

Return value

Returns the zero-based index of the line.

Description

Determines which line contains the specified character in a rich edit control.

Reference

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