"Mike McCormack" mike@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.