comctl32: initial support for drawing themed push buttons.

Reece Dunn msclrhd at
Tue Jul 15 14:42:05 CDT 2008

This adds basic support for drawing themed push buttons.

At the moment, only the enabled and disabled states are supported.
Adding hot (hover), pushed and defaulted (i.e. this button will take
the enter key action) are not yet supported.

Also, the buttons will render without styles when they gain the focus,
change their enabled state, etc. because of the way that
user32/button.c is sending drawing requests in those conditions. As
per the notes from the IRC list w.r.t. the patches that change this
behaviour, I'll add tests to check if Windows is sending a WM_PAINT in
those cases.

- Reece
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-comctl32-initial-support-for-drawing-themed-push-bu.patch
Type: text/x-diff
Size: 4749 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list