CRichEdit.GetSelTextmethod
Retrieves the currently selected text in a rich edit control.
Syntax
FUNCTION GetSelText (BYVAL hRichEdit AS HWND) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. |
Return value
The selected text as a DWSTRING (dynamic unicode string).
Description
Retrieves the currently selected text in a rich edit control.
Reference
- Defined in AfxNova/CRichEdit.inc:641
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class