https://bugs.winehq.org/show_bug.cgi?id=57521 --- Comment #7 from Zhiyi Zhang <zzhang(a)codeweavers.com> ---
I don't think static control has a theme class. It uses WM_CTLCOLORSTATIC to paint its background but I don't see a way to change its text color. I am not sure Windows provides a way for that. Maybe it uses COLOR_WINDOWTEXT or COLOR_BTNTEXT in system metrics. Try changing system metrics on Windows.
Changing WindowText in light.rc changes the text color for static controls. It's from the WM_CTLCOLORSTATIC handling by dlls/win32u/defwnd.c:2320 handle_control_color(). Specifically, the "NtGdiGetAndSetDCDword( hdc, NtGdiSetTextColor, get_sys_color( COLOR_WINDOWTEXT ), NULL );". -- 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.