+
+ rect.left = win->rect.x;
+ rect.top = win->rect.y;
+ rect.right = rect.left + width;
+ rect.bottom = rect.top + height;
+ if(AdjustWindowRect(&rect, WIN_STYLE, FALSE)) {
+ width = rect.right - rect.left;
+ height = rect.bottom - rect.top;
+ }
+ MoveWindow(win->handle, win->rect.x, win->rect.y, width, height, TRUE);