Help Center

RichEdit_GetTextRangefunction

Retrieves a specified range of characters from a rich edit control.

Windowsfunctiondocumented

Syntax

FUNCTION RichEdit_GetTextRange (BYVAL hRichEdit AS HWND, BYVAL lptrg AS TEXTRANGEW PTR) AS DWORD

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
lptrgPointer to a TEXTRANGEW structure that specifies the range of characters to retrieve and a buffer to copy the characters to.

Return value

The message returns the number of characters copied, not including the terminating null character.

Description

Retrieves a specified range of characters from a rich edit control.

Reference

  • Defined in AfxNova/AfxRichEdit.inc:532
  • Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
  • Topic: RichEdit Procedures