comctl32/progress: Erase background too on WM_TIMER for marquee animation.
This commit is contained in:
parent
25279d310e
commit
c69a7ecfb6
|
@ -474,11 +474,9 @@ static LRESULT PROGRESS_Timer (PROGRESS_INFO *infoPtr, INT idTimer)
|
|||
|
||||
/* increment the marquee progress */
|
||||
if(++infoPtr->MarqueePos >= leds)
|
||||
{
|
||||
infoPtr->MarqueePos = 0;
|
||||
}
|
||||
|
||||
InvalidateRect(infoPtr->Self, &rect, FALSE);
|
||||
InvalidateRect(infoPtr->Self, &rect, TRUE);
|
||||
UpdateWindow(infoPtr->Self);
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue