High DPI

This section contains information about writing DPI-aware Win32 applications.

  • Tutorial: Writing High-DPI Win32 Applications

    This tutorial shows you how to make your application DPI-aware on Windows 8.1. First, you learn the importance of writing a high DPI application. Next, you ensure that the computer is in high DPI mode and run the application at the 144 DPI setting. Then, you mark the application as DPI-aware by adding a manifest entry to the application. Finally, you scale the button size, layout, and window size, and use the default theme text API for text.

  • Mixed-Mode DPI Scaling and DPI-aware APIs

    The Windows 10 Anniversary Update adds significant improvements to High-DPI support for Desktop Applications. SetThreadDpiAwarenessContext allows top-level windows to have different DPI-awareness modes than the process-wide DPI awareness mode. This topic illustrates how to use this and other related new features.

  • Writing DPI-Aware Desktop and Win32 Applications

    Explains how to make your Desktop and Win32 applications DPI-aware and why you should do so. This paper shows how to use the high-DPI features in Windows 8.1 to make your UI more consistent, attractive, and readable. It also explains how to identify and fix common DPI issues, and how to use the manifest to declare your application to be DPI Aware.

  • Declaring Managed Applications As DPI-Aware

    Shows how to declare your managed application as DPI-aware in Microsoft Visual Studio 2008.

  • Making the Web Bigger: DPI Scaling and Internet Explorer 8

    Scaling Web pages to take advantage of varying DPI displays in Windows Internet Explorer 8.

Related topics

Dynamic DPI Sample
DPI Tutorial sample
Per Monitor Aware WPF sample