Why is it, that it say's in the Win32 Programmers Reference,

SM_CYSCREEN Width and height, in pixels, of the screen.

when SM_CXSCREEN and SM_CYSCREEN actually is the x and y
COORDINATES of the WINDOW ? :confused:
Posted on 2002-08-09 17:59:07 by The SharK
Yes if you use:

invoke GetSystemMetrics,SM_CXSCREEN

You will be returned the width of the screen in pixels, not the width of the desktop "Window" because the window can be sized by an application whereas the screen resolution may stay the same.

Posted on 2002-08-09 18:37:38 by IwasTitan