rect
RECT rect;
GetClientRect(w, &rect);
rect.top += cmdbar_height;
_boot_button = new BootButton(_app, *this, rect);
_cancel_button = new CancelButton(_app, *this, rect);
_progress_bar = new ProgressBar(_app, *this, rect);
rect.top += _button_height;
_base = new TabWindowBase(_app, w, rect, IDC_BASE);
ProgressBar(HpcBootApp &app, RootWindow &root, RECT &rect)
_rect = rect;
BootButton(HpcBootApp &app, RootWindow &root, RECT &rect)
_rect = rect;
CancelButton(HpcBootApp &app, RootWindow &root, RECT &rect)
_rect = rect;
RECT &rect, int id)
_rect = rect;
void adjust(RECT &rect) {
TabCtrl_AdjustRect(_window, FALSE, &rect);
RECT rect;
GetClientRect(hWnd, &rect);
rect.top += cmdbar_height; /* get client rect w/o command bar */
ratio_x = (rect.right - rect.left) * 100 / dlg.cx;
ratio_y = (rect.bottom - rect.top) * 100 / dlg.cy;
struct rect r;