UI Tweaks

This commit is contained in:
Serge
2023-06-02 21:25:18 +02:00
parent 1222377c33
commit eb522214f0
3 changed files with 2 additions and 6 deletions

View File

@@ -327,6 +327,8 @@ public class NativeMethods
}
[DllImport("User32.dll")]
public static extern bool SetForegroundWindow(IntPtr handle);
private const int WM_SYSCOMMAND = 0x0112;
private const int SC_MONITORPOWER = 0xF170;