mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[OOBE][WinUI3]Scale OOBE window correctly (#17962)
* Scale OOBE window * [oobe]React to dpi changes (#17967) Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
@@ -41,6 +41,9 @@ namespace Microsoft.PowerToys.Settings.UI.Helpers
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool ShowWindow(System.IntPtr hWnd, int nCmdShow);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern int GetDpiForWindow(System.IntPtr hWnd);
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool AllowSetForegroundWindow(int dwProcessId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user