From fe76f08623518b6946d4225c05c7ba3868ad6a14 Mon Sep 17 00:00:00 2001 From: Michael Khlopin Date: Sat, 29 Jun 2024 16:52:19 +0700 Subject: [PATCH] Change `EnableDPIAwareness` manifest option to `PerMonitorHighDPIAware`, so application working slightly better on systems where different displays have different scale options. --- src/JPEGView/JPEGView.vcxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/JPEGView/JPEGView.vcxproj b/src/JPEGView/JPEGView.vcxproj index 6801186b..053b2dc5 100644 --- a/src/JPEGView/JPEGView.vcxproj +++ b/src/JPEGView/JPEGView.vcxproj @@ -132,7 +132,7 @@ /IGNORE:4099 %(AdditionalOptions) - true + PerMonitorHighDPIAware call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)" @@ -181,7 +181,7 @@ /IGNORE:4099 %(AdditionalOptions) - true + PerMonitorHighDPIAware call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)" @@ -236,7 +236,7 @@ /IGNORE:4099 %(AdditionalOptions) - true + PerMonitorHighDPIAware call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)" @@ -289,7 +289,7 @@ /IGNORE:4099 %(AdditionalOptions) - true + PerMonitorHighDPIAware call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)"