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?
x = GetSystemMetrics(SM_CXSCREEN);
TextOut(hdc,cxChar,cyChar,szBuffer,wsprintf(szBuffer,"Screen size is %i",x));
 I am not sure why it is putting a space in szBuffer :confused:
Do you want to get metrics for your window? Then you use either GetWindowRect or GetClientRect as appropriate. GetSystemMetrics will give you the size of the screen for the primary display.