public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
 public static extern int DwmGetWindowAttribute(IntPtr hwnd, int dwAttribute, out RECT pvAttribute, int cbAttribute);
 public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect);
Example #4
0
 public bool Equals(RECT r)
 {
     return r.Left == Left && r.Top == Top && r.Right == Right && r.Bottom == Bottom;
 }