long CBCGPProgressDlg::SetPos | ( | long | nCurPos, |
BOOL | bWaitForMessages | ||
) |
Sets the current position for a progress bar control and redraws the bar to reflect the new position.
Sets the progress bar control's current position as specified by nPos and redraws the bar to reflect the new position. The position of the progress bar control is not the physical location on the screen, but rather is between the upper and lower range indicated in CBCGPProgressDlgParams::m_nRangeMin and CBCGPProgressDlgParams::m_nRangeMax.
nCurPos | New position of the progress bar control. |
bWaitForMessages | Specifies whether the dialog should wait for the Windows messages. |