Buffer : array[0..100] of Char;
SendMessage(hwndxyz, WM_GETTEXT, 100, integer(@Buffer));
hwndxyz is a textbox.
Buffer will now be the first 100 chars of that texbox.
Question 1: I need a way to get all the text from the textbox, and not just 100 chars.
Question 2: How do you get the last 100 chars from a textbox?
Question 3: How do you get the length of the textbox text.