I am posting here on the off-chance that someone knows why my screen size is reported as 611 instead of 600?
GetSystemMetrics(SM_CYFULLSCREEN)
returns 611. My netbook is 1024×600, so I expected 600, not 611.
Googling for 1024×611 turns up a surprising number of results, also.
from other forum threads, it seems that
GetSystemMetrics(SM_CYFULLSCREEN)does not always return the exptected result. it seems to be adjusted, and may not be the value you want.try using
GetSystemMetrics(SM_CYSCREEN), which will return the size of your primary monitor.(also, note that some people use multiple monitors: take care of not constraining your application to a single monitor)