[Bug 10531] Windows Calculator: Color in buttons missing

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 6 15:08:37 CST 2008


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
                 CC|                            |focht at gmx.net

--- Comment #5 from Anastasius Focht <focht at gmx.net>  2008-02-06 15:08:37 ---

well it's simple ... wine's button control lacks NM_CUSTOMDRAW notification

The BS_OWNERDRAWN style might have worked for Win9X but not for Windows XP -
it's handled differently (assuming comctl32 ver >= 6).
XP controls use WM_NOTIFY -> NM_CUSTOMDRAW notifications (sent to the parent)
for that purpose.
Use some windows/message spy to observe the behaviour (calc returns
CDRF_SKIPDEFAULT to indicate it draws the entire item by itself).



for further information.

Implement custom draw notification messages and you will coloured buttons.


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list