-
August 26th, 2013, 12:24 AM
#1
Screen resolution problem
Hi,
In my win32 application,i am drawing some boxes on the screen,dimension of this rectangular boxes iam deciding based on the value getting through GetClientRect().But if am running application on different pC(Different monitor size)my boxes with different size how to make it general for all PC
-
August 27th, 2013, 01:44 PM
#2
Re: Screen resolution problem
Check out SetMapMode function.
The default mode is MM_TEXT. If you need your boxes to have the same size in any resolution, use MM_HIENGLISH or MM_HIMETRIC.
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
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
|