Link to home
Start Free TrialLog in
Avatar of backdraf
backdraf

asked on

Screen Size

How do i find out the dimensions of the screen area in pixels? I need these coordinates to use in conjuction with the CWD::MoveWindow function.
ASKER CERTIFIED SOLUTION
Avatar of naveenkohli
naveenkohli

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dagangwang
dagangwang

Use GetSystemMetrics function like this:
int x = GetSystemMetrics( SM_CXSCREEN );
int y = GetSystemMetrics( SM_CYSCREEN );

Avatar of backdraf

ASKER

dagangwang's answer is the one i was looking for, thank you ;)