Advertisement

Resolution

Started by November 13, 2001 03:09 AM
1 comment, last by Locke 23 years, 3 months ago
Is there any may to detect what resolution the desktop is running at when you initiate a program?
Brendan ''Locke'' Hennessy"I heard life sucks, so that''s why I don''t have one"
GetSystemMetrics(SM_CXSCREEN); //x pixels

and

GetSystemMetrics(SM_CYSCREEN); //y pixels

will retrieve the the resolution
Advertisement
What up Mike B.?

~Scraniel~

This topic is closed to new replies.

Advertisement