Lines Matching defs:dialogrect
400 RECT dialogrect;
415 GetWindowRect(hWndDlg, &dialogrect);
418 textrect.right = dialogrect.right - dialogrect.left - MIN_TEXT_MARGIN;
419 textrect.bottom = dialogrect.bottom - dialogrect.top - MIN_TEXT_MARGIN;
426 dialogrect.left -= adjust;
427 dialogrect.right += adjust;
432 dialogrect.top -= adjust;
433 dialogrect.bottom += adjust;
438 SetWindowPos(hWndDlg, HWND_TOP, dialogrect.left, dialogrect.top, dialogrect.right - dialogrect.left, dialogrect.bottom - dialogrect.top, 0);
439 GetWindowRect(hWndDlg, &dialogrect);
442 textrect.top += (dialogrect.bottom - dialogrect.top - MIN_TEXT_MARGIN - textrect.top - textheight) / 2;
443 textrect.right = dialogrect.right - dialogrect.left - MIN_TEXT_MARGIN;