I can get a string, but I've never tried numbers, so right now Im trying a single number that is only one digit long. Thanks :D
Printable View
I can get a string, but I've never tried numbers, so right now Im trying a single number that is only one digit long. Thanks :D
If it's a dialogue, use GetDlgItemInt :). If a window, use GetWindowText and then atoi to convert the text.
Ever time I do (GetWindowText) I get 0.
Code:x = GetWindowText(GetFrom1, buff, 5);
x = atoi(buff);
What's coord?
never mind, it works all of a sudden :rolleyes: thanks
Oooops :) I got a tad confused as well - did you change to the code you have now?
yeah I was editing it while posting and I forgot to finished editing it....sorry