Lines Matching refs:rWorkArea
456 RECT rChild, rParent, rWorkArea;
475 &rWorkArea,
478 rWorkArea.left = rWorkArea.top = 0;
479 rWorkArea.right = GetSystemMetrics(SM_CXSCREEN);
480 rWorkArea.bottom = GetSystemMetrics(SM_CYSCREEN);
485 if (xNew < rWorkArea.left) {
486 xNew = rWorkArea.left;
487 } else if ((xNew+wChild) > rWorkArea.right) {
488 xNew = rWorkArea.right - wChild;
493 if (yNew < rWorkArea.top) {
494 yNew = rWorkArea.top;
495 } else if ((yNew+hChild) > rWorkArea.bottom) {
496 yNew = rWorkArea.bottom - hChild;