Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/progress.c:
}
}
+static UINT PROGRESS_SetState (HWND hwnd, PROGRESS_INFO *infoPtr, UINT state) +{
- UINT prev_state = infoPtr->State;
- if (state == PBST_NORMAL || state == PBST_PAUSED || state == PBST_ERROR)
infoPtr->State = state;
If the state changes, you should call InvalidateRect(hwnd, ..., TRUE) to schedule a redraw.