Exemplo n.º 1
0
 // ReSharper disable once InconsistentNaming
 public static extern bool SetWindowPos(
     IntPtr hWnd,
     IntPtr hWndInsertAfter,
     int X,
     int Y,
     int cx,
     int cy,
     WindowPositionFlags uFlags);
Exemplo n.º 2
0
 internal static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int top, int left, int width, int height, WindowPositionFlags flags);
Exemplo n.º 3
0
 public static extern bool SetWindowPos(Hwnd hwnd, Hwnd hWndInsertAfter, int x, int y, int cx, int cy,
                                        WindowPositionFlags flags);
Exemplo n.º 4
0
 public bool SetPosition(ref Rectangle rect, WindowPositionFlags flags)
 {
     return(this.SetPosition(rect.Left, rect.Top, rect.Width, rect.Height, flags));
 }
Exemplo n.º 5
0
 internal static extern IntPtr SetWindowPos(IntPtr hWnd, int hWndInsertAfter, int x, int y, int cx, int cy, WindowPositionFlags wFlags);
Exemplo n.º 6
0
 public bool SetPosition(Rectangle rect, WindowPositionFlags flags)
 {
     return(this.SetPosition(ref rect, flags));
 }
Exemplo n.º 7
0
 public bool SetPosition(IntPtr hWndInsertAfter, int x, int y, int width, int height, WindowPositionFlags flags)
 {
     return(User32Methods.SetWindowPos(this.Handle, hWndInsertAfter, x, y, width, height, flags));
 }
Exemplo n.º 8
0
 public bool SetPosition(HwndZOrder order, int x, int y, int width, int height, WindowPositionFlags flags)
 {
     return(User32Helpers.SetWindowPos(this.Handle, order, x, y, width, height, flags));
 }
Exemplo n.º 9
0
 public bool SetPosition(int x, int y, int width, int height, WindowPositionFlags flags)
 {
     return(User32Methods.SetWindowPos(this.Handle, IntPtr.Zero, x, y, width, height, flags));
 }
Exemplo n.º 10
0
 public static bool SetWindowPos(IntPtr hwnd, HwndZOrder order, int x, int y, int cx, int cy,
                                 WindowPositionFlags flags)
 {
     return(User32Methods.SetWindowPos(hwnd, new IntPtr((int)order), x, y, cx, cy, flags));
 }