when i try to find out what the current size of the screen is I keep getting the maximum size for the screen. here is the code:
I guess that I am using this wrong?Code:x = GetSystemMetrics(SM_CXSCREEN); TextOut(hdc,cxChar,cyChar,szBuffer,wsprintf(szBuffer,"Screen size is %i",x));
[edit] I am not sure why it is putting a space in szBuffer