From 5594fcea748464c0a70acdf353a6112dd386ea4b Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Sun, 11 May 2003 02:38:05 +0000 Subject: [PATCH] Invalidate the window when the range is changed. --- dlls/comctl32/progress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c index 3cc5d70c3b6..a95136a601b 100644 --- a/dlls/comctl32/progress.c +++ b/dlls/comctl32/progress.c @@ -257,6 +257,7 @@ static DWORD PROGRESS_SetRange (PROGRESS_INFO *infoPtr, int low, int high) infoPtr->MinVal = low; infoPtr->MaxVal = high; PROGRESS_CoercePos(infoPtr); + InvalidateRect(infoPtr->Self, NULL, TRUE); return res; }