The EM_GETTEXTRANGE message retrieves a specified range of characters from a rich edit control.
EM_GETTEXTRANGE
wParam = 0;
lParam = (LPARAM) (TEXTRANGE FAR *) lpRange;
Parameters
lpRange
Pointer to a TEXTRANGE structure that specifies the range of characters to retrieve and a buffer to copy the characters to.
Return Values
Returns the number of characters copied, not including the terminating null character.
See Also