Help Center

CRichEditCtx.GetLinemethod

Copies a line of text from a rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION GetLine (BYVAL which AS DWORD) AS DWSTRING

Parameters

NameDescription
whichThe zero-based index of the line to retrieve from a multiline edit control. A value of zero specifies the topmost line.

Return value

A copy of the line.

Description

Copies a line of text from a rich edit control.

Reference

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