OverviewThis tutorial is intended for MFC developers who want to make their MFC desktop application high DPI aware. A high DPI aware application can take full advantage of the DPI setting of the computer display without visual side-effects such as blurring, if the application is not high DPI aware. Today only about half of users actually set their display to the maximum native resolution because they find the text too small at the maximum resolution. However, simply reducing the resolution has some negative side effects, including:
To increase the size of the text, users are encouraged to use the computer display’s native resolution and increase the DPI setting. However, developers need to make their applications DPI aware in order to fully take advantage of this and not introduce unpleasant visual artifacts, as you will observe later in this tutorial. With the release of Windows 7, there will be a greater level of adoption of high DPI for the following reasons:
The tutorial will involve real-time compiling of code and copying code from this document. In the event that a copying error (or any other problem) prevents the application from compiling, you can find fully completed samples in the tutorial package, along with the final source code for each exercise. These samples can be used to unblock compiling errors. ObjectivesIn this lab, you will learn how to
System RequirementsYou must have the following items to complete this lab:
|