internal static extern void SetWindowPos(
     IntPtr hWnd,
     IntPtr hWndInsertAfter,
     int x,
     int y,
     int cx,
     int cy,
     SetWindowPositionOptions flags);
Ejemplo n.º 2
0
 public static extern bool SetWindowPos(
     IntPtr hWnd,
     IntPtr hWndInsertAfter,
     int x,
     int y,
     int cx,
     int cy,
     SetWindowPositionOptions flags);
Ejemplo n.º 3
0
 internal static extern void SetWindowPos(
     IntPtr hWnd,
     IntPtr hWndInsertAfter,
     int x,
     int y,
     int cx,
     int cy,
     SetWindowPositionOptions flags);
Ejemplo n.º 4
0
 public static void SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionOptions uFlags)
 {
     if (!_SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, uFlags))
     {
         throw new Win32Exception(Marshal.GetLastWin32Error());
     }
 }
Ejemplo n.º 5
0
 private static extern bool _SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionOptions uFlags);
Ejemplo n.º 6
0
 private static extern bool _SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionOptions uFlags);
Ejemplo n.º 7
0
 public static void SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionOptions uFlags)
 {
     if (!_SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, uFlags))
     {
        throw new Win32Exception(Marshal.GetLastWin32Error());
     }
 }
Ejemplo n.º 8
0
 public static void SetWindow(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, WindowStyles styles, WindowStylesEx stylesEx, SetWindowPositionOptions windowPositionOptions)
 {
     SetWindowStyles(hWnd, styles);
     SetWindowStylesEx(hWnd, stylesEx);
     SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, windowPositionOptions);
 }
Ejemplo n.º 9
0
        public static void SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionOptions windowPositionOptions)

        {
            if (!HandlerNativeMethods.SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, windowPositionOptions))
            {
                Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
            }
        }