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