30 references to SetWindowPos
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3376
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, dropDownHandle), NativeMethods.NullHandleRef, 0, 0, DropDownWidth, height,
winforms\Managed\System\WinForms\CommonDialog.cs (1)
182
SafeNativeMethods.
SetWindowPos
(new HandleRef(null, hWnd), NativeMethods.NullHandleRef, x, y, 0, 0, NativeMethods.SWP_NOSIZE |
winforms\Managed\System\WinForms\Control.cs (7)
5616
SafeNativeMethods.
SetWindowPos
(new HandleRef(window, Handle), NativeMethods.HWND_TOP, 0, 0, 0, 0,
11793
SafeNativeMethods.
SetWindowPos
(new HandleRef(window, Handle), NativeMethods.HWND_BOTTOM, 0, 0, 0, 0,
11898
SafeNativeMethods.
SetWindowPos
(new HandleRef(window, Handle), NativeMethods.NullHandleRef, x, y, width, height, flags);
12144
SafeNativeMethods.
SetWindowPos
(new HandleRef(window, Handle),
12197
SafeNativeMethods.
SetWindowPos
(
12708
SafeNativeMethods.
SetWindowPos
(new HandleRef(ctl.window, ctl.Handle), new HandleRef(null, prevHandle), 0, 0, 0, 0,
12755
SafeNativeMethods.
SetWindowPos
(
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
50
SafeNativeMethods.
SetWindowPos
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.HWND_NOTOPMOST, 0, 0, 0, 0, NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOMOVE | NativeMethods.SWP_NOACTIVATE);
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
970
SafeNativeMethods.
SetWindowPos
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.HWND_TOP, 0, 0, 0, 0, NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOMOVE | NativeMethods.SWP_NOACTIVATE);
994
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle),
1278
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), NativeMethods.HWND_TOP, windowBounds.X, windowBounds.Y,
winforms\Managed\System\WinForms\Form.cs (3)
1778
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), NativeMethods.NullHandleRef,
2577
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), key, 0, 0, 0, 0,
7879
SafeNativeMethods.
SetWindowPos
(new HandleRef(window, window.Handle), NativeMethods.HWND_TOPMOST,
winforms\Managed\System\WinForms\ListView.cs (1)
4600
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, hdrHWND),
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
204
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), NativeMethods.HWND_TOPMOST,
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1663
SafeNativeMethods.
SetWindowPos
(new HandleRef(this.dropDownHolder, this.dropDownHolder.Handle), NativeMethods.NullHandleRef, loc.X, loc.Y, size.Width, size.Height, flags);
winforms\Managed\System\WinForms\StatusBar.cs (1)
1815
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), NativeMethods.HWND_TOPMOST,
winforms\Managed\System\WinForms\TabControl.cs (1)
1362
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, tooltipHwnd),
winforms\Managed\System\WinForms\ToolBar.cs (1)
1753
SafeNativeMethods.
SetWindowPos
(new HandleRef(null, note.hwndFrom), NativeMethods.NullHandleRef, leftTop.x, leftTop.y, 0, 0, NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOZORDER | NativeMethods.SWP_NOACTIVATE);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1103
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), topMostFlag, 0, 0, 0, 0,
1842
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, Handle), NativeMethods.HWND_TOP, 0, 0, 0, 0,
winforms\Managed\System\WinForms\ToolTip.cs (3)
2173
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, this.Handle),
2344
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, this.Handle),
2353
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, this.Handle),
winforms\Managed\System\WinForms\TreeView.cs (3)
2045
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.Left, this.Top, Int32.MaxValue, this.Height, flags);
2051
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.Left, this.Top, oldSize, this.Height, flags);
2921
SafeNativeMethods.
SetWindowPos
(new HandleRef(this, tooltipHandle),