On Tue, 5 Feb 2002, Dmitry Timoshkov wrote:
Hello.
According to my test application, progress bar control always does InvalidateRect() if it wants to repaint itself. It is smart enough whether or not invalidate background. Probably other comctl32 controls need to be fixed in respect of this.
That's a good point. When I wrote the Progress Bar & Up Down Controls way back when, I did the repaint thingy as other controls were doing. So I think this style simply got propagated through the controls without good reason, other than "others do it too".
-- Dimi.