rect.left = BAR_MARGIN + (nBars - 1) * (BAR_WIDTH + BAR_SPACING);
UpdateProgressBar(unsigned value){	int	nBars;  if(dwMode != SILENT)  {    // Figure out how many bars should be displayed    nBars = dlgInfo.nMaxBars * value / 100;    // Only paint if we need to display more bars    if (nBars > dlgInfo.nBars)    {      HWND	hWndGauge = GetDlgItem(dlgInfo.hWndDlg, IDC_GAUGE);      RECT	rect;      // Update the gauge state before painting      dlgInfo.nBars = nBars;      // Only invalidate the part that needs updating      GetClientRect(hWndGauge, &rect);      rect.left = BAR_MARGIN + (nBars - 1) * (BAR_WIDTH + BAR_SPACING);      InvalidateRect(hWndGauge, &rect, FALSE);          // Update the whole extracting dialog. We do this because we don't      // have a message loop to process WM_PAINT messages in case the      // extracting dialog was exposed      UpdateWindow(dlgInfo.hWndDlg);    }  }}