func (c *control) GetSize() Vector { rect := w32.GetWindowRect(c.handle) return Vector{int(rect.Right - rect.Left), int(rect.Bottom - rect.Top)} }
func (w *Window) GetSize() Vector { rect := w32.GetWindowRect(w.handle) return Vector{int(rect.Right - rect.Left), int(rect.Bottom - rect.Top)} }
func (c *control) GetPosition() Vector { rect := w32.GetWindowRect(c.handle) return Vector{int(rect.Left), int(rect.Top)} }
func (w *Window) GetPosition() Vector { rect := w32.GetWindowRect(w.handle) return Vector{int(rect.Left), int(rect.Top)} }