13 references to GetActiveWindow
System.Windows.Forms (13)
winforms\Managed\System\WinForms\Application.cs (2)
3968
SafeNativeMethods.GetWindowThreadProcessId(new HandleRef(null, UnsafeNativeMethods.
GetActiveWindow
()), out pid);
4288
activeHwnd = UnsafeNativeMethods.
GetActiveWindow
();
winforms\Managed\System\WinForms\CommonDialog.cs (1)
283
hwndOwner = UnsafeNativeMethods.
GetActiveWindow
();
winforms\Managed\System\WinForms\Form.cs (2)
6097
IntPtr hWndActive = UnsafeNativeMethods.
GetActiveWindow
();
6174
IntPtr hWndActive = UnsafeNativeMethods.
GetActiveWindow
();
winforms\Managed\System\WinForms\Help.cs (2)
227
handle = new HandleRef(null, UnsafeNativeMethods.
GetActiveWindow
());
318
handle = new HandleRef(null, UnsafeNativeMethods.
GetActiveWindow
());
winforms\Managed\System\WinForms\MessageBox.cs (1)
458
handle = UnsafeNativeMethods.
GetActiveWindow
();
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4735
IntPtr hwndActive = UnsafeNativeMethods.
GetActiveWindow
();
winforms\Managed\System\WinForms\ToolStripManager.cs (3)
852
IntPtr hwndActive = UnsafeNativeMethods.
GetActiveWindow
();
1124
IntPtr hwndActive = UnsafeNativeMethods.
GetActiveWindow
();
1247
HandleRef hwndCurrentActiveWindow = new HandleRef(null, UnsafeNativeMethods.
GetActiveWindow
());
winforms\Managed\System\WinForms\ToolTip.cs (1)
356
IntPtr hWnd = UnsafeNativeMethods.
GetActiveWindow
();