Ejemplo n.º 1
0
 public static void AddWindowBorders(IntPtr hwnd, ref WinAPI.RECT rc)
 {
     WinAPI.AdjustWindowRect(ref rc, (uint)WinAPI.GetWindowLong(hwnd, -16 /* GWL_STYLE */), false);
 }