The TEXTRANGE structure receives a range of text from a rich edit control. This structure is filled in by the EM_GETTEXTRANGE message. The buffer pointed to by the lpstrText member must be large enough to receive all characters and the teminating null character.
pedef struct _textrange {
CHARRANGE chrg;
LPSTR lpstrText;
} TEXTRANGE;
Members
chrg
Range of characters to get.
lpstrText
Pointer to buffer to receive the text.
See Also