I set it to C though, and the errors are UDM_SETPOS32 undefined O.O
The peice of code is
Code:
static void set_window_num_value(HWND edit, HWND spin, int val)
{
TCHAR buf[32];
SendMessage(spin, UDM_SETPOS32, 0, val);
wsprintf(buf, TEXT("%d"), val);
SetWindowText(edit, buf);
}
EDIT: Every error is about a UDM_ function being "undefined"
EDIT:Fixed it, but theres still alot more to do.
Now its saying theres an error in the commctrl.h file, I thinkI might see if I can download one.
Can't, I already have an "up to date" version of it...
If you want, you can download a rar file that i'm hosting on my webpage, it has everything in it, just use something to compile it (So you can see the errors, if you want that is. I know many of you are busy and this is a hassle. But if you do, thank you and I appreciate it very much so.).