Hi,
On Sun, Dec 07, 2003 at 03:51:01AM -0300, Marcelo Duarte wrote:
This patch caused a regression in Winamp 2.91, and the top window is not repainted.
Maybe (just *maybe*) the patch is actually very correct, but Winamp for some reason collects some more "dirty" data that just happens to be committed to screen by this random unrelated WM_PAINT message...
In other words: the dirty graphics area in Winamp should have been painted by some other Windows function already which is responsible for these graphics changes in Winamp. Since this seems to not get done, it appears that the superfluous WM_PAINT is necessary to clean their act up after the fact.
Thus the actual challenge would probably be to find the place where we should have issued the REAL WM_PAINT by one way or another, in order to make Winamp happy again...