CRichEdit.GetTextmethod
Retrieves the text from a rich edit control.
Syntax
FUNCTION GetText (BYVAL hRichEdit AS HWND) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The 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