예제 #1
0
		public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
예제 #2
0
 private static int getArea(SystemWindow sw)
 {
     RECT rr = sw.Rectangle;
     return rr.Height * rr.Width;
 }
예제 #3
0
파일: MWinUtil.cs 프로젝트: windwp/myexp
 public static Rectangle GetControlSize(RECT pRect)
 {
     return new Rectangle(pRect.Top,pRect.Left,pRect.Right-pRect.Left,pRect.Bottom-pRect.Top);
 }
예제 #4
0
 static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);