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