CRichEdit.SetTextmethod
Sets the text of an edit control.
Syntax
FUNCTION SetText (BYVAL hRichEdit AS HWND, BYVAL pwszText AS WSTRING PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pwszText | A pointer to a null-terminated string that is the window text. |
Return value
The return value is TRUE if the text is set.
Description
Sets the text of an edit control.
Reference
- Defined in AfxNova/CRichEdit.inc:1222
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class