user32: WM_SETFONT on button doesn't repaint directly
dmitry at codeweavers.com
Tue Feb 6 00:17:27 CST 2007
"Clinton Stimpson" <cjstimpson at utwire.net> wrote:
> This patch fixes WM_SETFONT on a button to not paint directly. Instead,
> it calls InvalidateRect.
> A test is included that demonstrates that no paint events come out of
> sending a WM_SETFONT.
> Clinton Stimpson
> Setting font on button doesn't repaint directly.
I think that your previous version of the test that called UpdateWindow
and demonstrated that WM_SETFONT triggers full painting sequence was more
correct. I have no idea though why it has not been accepted.
Also, as a way to simplify the test there is no need to create a font,
I'd suggest to use GetStockObject to retrieve a handle to one of the stock
More information about the wine-devel