/// <inheritdoc/> public void SetWindowPos(IntPtr hwnd, Rect position, SwpType uFlags) { if (!SetWindowPos(hwnd, IntPtr.Zero, position.Left, position.Top, position.Right, position.Bottom, uFlags)) { HResult.ThrowLastError(); } }
private static extern bool SetWindowPos(IntPtr hwnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SwpType uFlags);