Help Center

CRichEdit.ExLineFromCharmethod

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

Windowsmethoddocumented

Syntax

FUNCTION ExLineFromChar (BYVAL hRichEdit AS HWND, BYVAL iIndex AS LONG) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
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/CRichEdit.inc:307
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class