24 references to GetWindowRect
System.Windows.Forms (24)
winforms\Managed\System\WinForms\ComboBox.cs (5)
1608
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref comboRectMid);
1613
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, childEdit.Handle), ref editRectMid);
1838
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
1983
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref rect);
3724
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
winforms\Managed\System\WinForms\CommonDialog.cs (1)
178
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(null, hWnd), ref r);
winforms\Managed\System\WinForms\Control.cs (6)
2089
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
3000
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref temp);
3018
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(null, next), ref temp);
10379
bool success = UnsafeNativeMethods.
GetWindowRect
(new HandleRef(null, this.Handle), ref windowRect);
12520
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(window, InternalHandle), ref rect);
16194
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, this.Handle), ref rectangle);
winforms\Managed\System\WinForms\Form.cs (1)
4458
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(null, ownerHandle), ref ownerRect);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
406
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
589
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
winforms\Managed\System\WinForms\ToolTip.cs (9)
1557
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(associatedControl, associatedControl.Handle), ref r);
1660
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(window, Control.GetSafeHandle(window)), ref r);
1687
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(window, Control.GetSafeHandle(window)), ref r);
1712
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(window, Control.GetSafeHandle(window)), ref r);
1737
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(window, Control.GetSafeHandle(window)), ref r);
2186
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
2247
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(win, Control.GetSafeHandle(win)), ref r);
2285
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);
2319
UnsafeNativeMethods.
GetWindowRect
(new HandleRef(this, Handle), ref r);