From 3b6f7c705778a782832f2c0df7afd14214b52c82 Mon Sep 17 00:00:00 2001 From: Noah Sherwin Date: Sun, 27 Aug 2023 20:40:13 -0700 Subject: [PATCH] fix(msstyleEditorSharp): enable support for improved DPI awareness types on newer systems - Change `true` to `true/pm` for the best legacy support. - Windows 8.1 will use its simple per-monitor DPI awareness. Application UIs will not bitmap-stretch, but child windows and UI elements will not scale. Windows Vista, 7, and 8 will be aware of Primary display's DPI and its changes, but will use bitmap-stretching for scaling. - Add `PerMonitorV2, PerMonitor, System, unaware` . - Windows 10 (1703) and later will use an improved per-monitor DPI awareness. Top-level and child HWNDs are notified of DPI change. Includes automatic DPI scaling of Non-client area, Theme-drawn bitmaps in common controls (comctl32 V6), and Dialogs (CreateDialog). - Add `true` to allow WinForm's GDI+ backend to be DPI-aware. --- msstyleEditorSharp/App.manifest | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/msstyleEditorSharp/App.manifest b/msstyleEditorSharp/App.manifest index c1bd419..399a65d 100644 --- a/msstyleEditorSharp/App.manifest +++ b/msstyleEditorSharp/App.manifest @@ -29,7 +29,9 @@ - true + true/pm + PerMonitorV2, PerMonitor, System, unaware + true