// Get the size of the rendering region of the window
//
// The size doesn't include the titlebar and borders
// of the window.
func (wi *windowInternal) getSize() (x, y uint) {
	var rect C.RECT
	C.__GetWindowRect(wi.window.Handle, &rect)
	return uint(rect.right - rect.left), uint(rect.bottom - rect.top)
}
// Get the position of the window
func (wi *windowInternal) getPosition() (x, y int) {
	var rect C.RECT
	C.__GetWindowRect(wi.window.Handle, &rect)
	return int(rect.left), int(rect.top)
}