« November 2005 »
S M T W T F S
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
You are not logged in. Log in

Programming Tips
Thursday, 10 November 2005
Screen resolution
Mood:  incredulous
Topic: VC++
We can get the screen resolution as follows:

int xScreenRes = ::GetSystemMetrics(SM_CXSCREEN);
int yScreenRes = ::GetSystemMetrics(SM_CYSCREEN);

Yeah you have it!

Posted by Nibu babu thomas at 4:42 PM
Updated: Thursday, 10 November 2005 4:43 PM

View Latest Entries