public static extern int GetClientRect(IntPtr hwnd, ref RECT lpRect);
public static extern bool RedrawWindow(IntPtr hWnd, ref RECT lprcUpdate, IntPtr hrgnUpdate, RedrawWindowFlags flags);
public static extern bool InvalidateRect(IntPtr hwnd, ref RECT rect, bool bErase);
public static extern bool ValidateRect(IntPtr hwnd, ref RECT rect);