Help Center

CRichEdit.GetTextmethod

Retrieves the text from a rich edit control.

Windowsmethoddocumented

Syntax

FUNCTION GetText (BYVAL hRichEdit AS HWND) AS DWSTRING

Parameters

NameDescription
hRichEditThe handle of the rich edit control.

Description

Retrieves the text from a rich edit control.

Remarks

The Windows API function GetWindowTextW can also be used to retrive the text of a rich edit control, but it cannot retrieve the text of a control in another application.

Reference

  • Defined in AfxNova/CRichEdit.inc:672
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class