Re: [PATCH] user32: use InvalidateRect to repaint buttons
11 Feb
2015
11 Feb
'15
4:11 a.m.
Mark Harmstone <hellas(a)burntcomma.com> wrote:
At present, whenever a button needs to be redrawn user32 calls its own internal function. This causes problems if the button is subclassed, as the superclass then won't receive the WM_PAINT message - this is why themed buttons lose their theme when you click on them. This patch changes it to instead call InvalidateRect, which will force a WM_PAINT message to be sent to the topmost class.
Did you run 'make test' with your changes? -- Dmitry.
3963
Age (days ago)
3963
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov