Member No.: 24334
Joined: 10-July 09
|QUOTE (ragdog @ Feb 26 2010, 08:07 AM)|
|EM_GETTEXTRANGE message retrieves a specified range of characters from a rich edit control.|
An application sends a WM_GETTEXT message to copy the text that corresponds to a window into a buffer provided by the caller.
This can you read by msdn.
Quick search google
Thank you for your reply.
I was referring to these messages as they apply to the HiEdit control. Although the documentation from msdn is a good reference, it does not always apply exactly to the HiEdit control.
In this case, both of these messages extract text from the HiEdit control. One of the messages extracts a range of characters and the other extracts from the beginning of the control up to a specified length. My point was that if both messages were requested to collect the first 512K (for example) of the control, the EM_GETTEXTRANGE message would get the text ~2 times faster than the WM_GETTEXT message.
Them be my thoughts...