RichEdit_GetTextRangefunction
Retrieves a specified range of characters from a rich edit control.
Syntax
FUNCTION RichEdit_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/AfxRichEdit.inc:532
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures