2 Aug
2024
2 Aug
'24
1:04 p.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6186#note_77658