comctl32/progress: Erase background too on WM_TIMER for marquee animation.

This commit is contained in:
Nikolay Sivov 2014-06-07 23:46:25 +04:00 committed by Alexandre Julliard
parent 25279d310e
commit c69a7ecfb6
1 changed files with 1 additions and 3 deletions

View File

@ -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;