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