BCGSuite for MFC
int CBCGPProgressCtrl::GetProgressState ( ) const

Gets the progress bar state.

Returns
PBST_NORMAL, PBST_ERROR or PBST_PAUSED.