t2tWinFormAppBarLib icon indicating copy to clipboard operation
t2tWinFormAppBarLib copied to clipboard

Windows 10 scaling problem

Open macwoj1569 opened this issue 6 years ago • 2 comments

noscaling scaling

macwoj1569 avatar Sep 28 '18 19:09 macwoj1569

Appreciate the issue being raised. I don't use desktop scaling in my projects or have a high DPI screen to test on so I will leave this as "waiting for developer". If anyone wants to tackle this I'd happily accept a PR.

tip2tail avatar Mar 22 '19 12:03 tip2tail

I had the same problem as the OP, but I was able to solve it without an actual code change, but a config change. The solution is described here: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8 Basically all I did was add

<System.Windows.Forms.ApplicationConfigurationSection>
  <add key="DpiAwareness" value="PerMonitorV2" />
</System.Windows.Forms.ApplicationConfigurationSection>

to the app.config and change the .NET version to 4.7.2. Then it works... per the article.

csdelan avatar Feb 15 '21 03:02 csdelan