internal static Rect GetControlBounds(IntPtr control) { Rect bounds; API.GetControlBounds(control, out bounds); return(bounds); }