Lines Matching defs:rect
156 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); }
216 RECT rect;
217 ::GetWindowRect(hwnd, &rect);
219 p1.x = rect.left;
220 p1.y = rect.top;
222 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE));
225 void ScreenToClient(RECT *rect)
228 p1.x = rect->left;
229 p1.y = rect->top;
230 p2.x = rect->right;
231 p2.y = rect->bottom;
235 rect->left = p1.x;
236 rect->top = p1.y;
237 rect->right = p2.x;
238 rect->bottom = p2.y;
241 bool GetClientRect(LPRECT rect) { return BOOLToBool(::GetClientRect(_window, rect)); }
250 bool InvalidateRect(LPCRECT rect, bool backgroundErase = true)
251 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); }