Exemplo n.º 1
0
		public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
Exemplo n.º 2
0
 private static int getArea(SystemWindow sw)
 {
     RECT rr = sw.Rectangle;
     return rr.Height * rr.Width;
 }
Exemplo n.º 3
0
 public static Rectangle GetControlSize(RECT pRect)
 {
     return new Rectangle(pRect.Top,pRect.Left,pRect.Right-pRect.Left,pRect.Bottom-pRect.Top);
 }
Exemplo n.º 4
0
 static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);