-
February 22nd, 2011, 05:47 PM
#1
API for screen resolution
Hello All , is there an API to get screen resolution , and notification or call back function when screen resolution changes
-
February 23rd, 2011, 04:42 AM
#2
Re: API for screen resolution
Use WM_DISPLAYCHANGE to get notified when the resolution changes. The lParam contains the new resolution.
You can use EnumDisplaySettings to get the resolutions of all connected monitors.
-
March 3rd, 2011, 11:37 AM
#3
Re: API for screen resolution
Use GetSystemMetric with SM_CXSCREEN and SM_CYSCREEN for getting reso and rest of thngs as suggested by Marc G.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|