COMCTL32: Invalidate the entire progress bar any time it changes.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jan 10 08:59:44 CST 2006


"Mike McCormack" <mike at codeweavers.com> wrote:

> This is an old patch, but the code that is in comctl32 now is wrong. 
> This fixes it, and there's no known regressions.  Unfortunately there's 
> no way to fix this "efficiently".
> 
> Mike
> 
> 
> ChangeLog:
> Invalidate the entire progress bar any time it changes.
> Fixes the progress bar so it paints properly in InstallShield.

My (old) tests show that native comctl32 invalidates the entire progress bar
once it changes, so that change is OK. But it's smart enough to not invalidate
the background if new bar position is larger than an old one, that reduces
the flicker.

-- 
Dmitry.



More information about the wine-devel mailing list