Skip to content

Latest commit

 

History

History
 
 

DynamicDPI

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Dynamic DPI sample

This sample demonstrates using dynamic DPI APIs to create a D2D desktop application compatible with multiple monitors running at different DPIs. This sample shows how to use existing desktop APIs in conjunction with the new dynamic DPI APIs to make a more complex desktop application that is per-monitor DPI aware.

Warning This sample requires Microsoft Visual Studio 2013 or a later version (any SKU) and doesn't compile in Microsoft Visual Studio Express 2013 for Windows.

To get a copy of Windows, go to Downloads and tools.

To get a copy of Visual Studio, go to Visual Studio Downloads.

Operating system requirements

Client

Windows 8.1

Server

Windows Server 2012 R2

Build the sample

To build this sample:

  1. Start Visual Studio and select File > Open > Project/Solution.
  2. Go to the directory named for the sample, and double-click the Microsoft Visual Studio Solution (.sln) file.
  3. Press F7 or use Build > Build Solution to build the sample.

Run the sample

To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.