user32: invalidate button area instead of painting immediatly

James Hawkins truiken at gmail.com
Thu Jan 18 01:43:35 CST 2007


On 1/17/07, Clinton Stimpson <cjstimpson at utwire.net> wrote:
>
> WM_SETFONT on a button should invalidate the area so the system can send
> a WM_PAINT event, instead of painting the button immediately.
> This is a partial fix for bug# 6006.
> The other part of the fix is for ShowWindow(button, SW_HIDE) to cause a
> WM_PAINT event on the button's parent to paint in the newly exposed region.
>
> Thanks,
> Clinton Stimpson
>
> ChangeLog:
>     user32:  invalidate button area instead of painting button immediately.
>

Can you write a message test for this in dlls/user32/tests/msg.c to
verify your fix?

Thanks,
James Hawkins



More information about the wine-devel mailing list