fix: get active window issue.
This commit is contained in:
1 parent
0e1fefa143
commit
5a1da60237
2 files changed
+8
-1
No files matched your search
@@ -348,6 +348,9 @@ internal class InteropMethods
|
||||
[DllImport(InteropValues.ExternDll.User32)]
|
||||
internal static extern IntPtr GetWindow(IntPtr hwnd, int nCmd);
|
||||
|
||||
[DllImport(InteropValues.ExternDll.User32)]
|
||||
internal static extern IntPtr GetActiveWindow();
|
||||
|
||||
[DllImport(InteropValues.ExternDll.User32)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
internal static extern bool IsWindowVisible(IntPtr hwnd);
|
||||
|
||||
Reference in new issue
Block a user