Ejemplo n.º 1
0
 static extern bool GetWindowRect(IntPtr hWnd, out W32RECT lpRect);
 public static extern bool GetWindowRect(IntPtr hWnd, out W32RECT lpRect);
Ejemplo n.º 3
0
 public static extern bool GetClientRect(IntPtr hWnd, ref W32RECT lpRect);
Ejemplo n.º 4
0
 private static extern IntPtr MonitorFromRect(W32RECT pt, MultiMonFlags dwFlags);
Ejemplo n.º 5
0
 public static System.Drawing.Rectangle GetDrawingRectangle(W32RECT input)
 {
     return(new System.Drawing.Rectangle(input.left, input.top, input.right - input.left, input.bottom - input.top));
 }