mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Fix for WPF DPI issue on .net 3.1.19 (#13551)
This commit is contained in:
@@ -40,6 +40,9 @@ namespace PowerLauncher.Helper
|
||||
[DllImport("user32.dll")]
|
||||
internal static extern IntPtr SetForegroundWindow(IntPtr hWnd);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
internal static extern bool SetProcessDPIAware();
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
internal static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user