BCGControlBar Pro for MFC
void CBCGPTaskDialog::SetProgressBarState ( int  nState = PBST_NORMAL)

Sets the state of the progress bar and displays it on the CBCGPTaskDialog.

Parameters
nStateThe state of the progress bar: PBST_NORMAL, PBST_ERROR or PBST_PAUSED.