Lines Matching refs:rWorkArea
461 RECT rChild, rParent, rWorkArea; in CenterAbout() local
480 &rWorkArea, in CenterAbout()
483 rWorkArea.left = rWorkArea.top = 0; in CenterAbout()
484 rWorkArea.right = GetSystemMetrics(SM_CXSCREEN); in CenterAbout()
485 rWorkArea.bottom = GetSystemMetrics(SM_CYSCREEN); in CenterAbout()
490 if (xNew < rWorkArea.left) { in CenterAbout()
491 xNew = rWorkArea.left; in CenterAbout()
492 } else if ((xNew+wChild) > rWorkArea.right) { in CenterAbout()
493 xNew = rWorkArea.right - wChild; in CenterAbout()
498 if (yNew < rWorkArea.top) { in CenterAbout()
499 yNew = rWorkArea.top; in CenterAbout()
500 } else if ((yNew+hChild) > rWorkArea.bottom) { in CenterAbout()
501 yNew = rWorkArea.bottom - hChild; in CenterAbout()