CRichEdit.GetTextRangemethod
Retrieves a specified range of characters from a rich edit control.
Syntax
FUNCTION GetTextRange (BYVAL hRichEdit AS HWND, BYVAL lptrg AS TEXTRANGEW PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
lptrg | Pointer 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/CRichEdit.inc:717
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class