File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ Trivial example on how to write Win32 DPI-aware GUI application that scales prop
5
5
## In a nutshell
6
6
7
7
* Primary monitor is usually at System DPI (unless changed without restart)
8
- * Other monitors can be at lower DPI than System
9
- * All metrics normally reported to the application are in System DPI
8
+ * Other monitors can be at higher or lower DPI than System
9
+ * All metrics normally (pre-v2) reported to the application are in System DPI
10
10
* Some APIs (GetThemeFont) scale the reported values when in PerMonitorV2 awareness mode
11
11
* It's error-prone to call GetSystemMetrics wherever needed and scale manually, precompute these
12
- * Mostly everything derives from font size. Recreate fonts on DPI change, remember height, rescale accordingly
12
+ * Mostly everything derives metrics from font size: recreate fonts on DPI change, remember height, rescale accordingly
13
13
* Window and Taskbar icons sizes change too
14
14
15
15
## Manifest
You can’t perform that action at this time.
0 commit comments