예제 #1
0
 /// <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();
     }
 }
예제 #2
0
 private static extern bool SetWindowPos(IntPtr hwnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SwpType uFlags);