screen size
-
How could i get the size (height and width) of the screen by calling a windows API function? Thanks!
How about
GetSystemMetrics()
, orGetDeviceCaps()
?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
How about
GetSystemMetrics()
, orGetDeviceCaps()
?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
How could i get the size (height and width) of the screen by calling a windows API function? Thanks!
If you want to take account of the taskbar, use
SystemParametersInfo
withSPI_GETWORKAREA
. Bear in mind that on a multi-monitor system, each monitor can have a different resolution.