Commit Graph

10 Commits

Author SHA1 Message Date
Zhiyi Zhang 2de05267d7 comctl32/theme_dialog: Pass the WM_SYSCOLORCHANGE message to the original dialog procedure.
Even though themed dialog itself doesn't need to repaint after WM_SYSCOLORCHANGE is received,
WM_SYSCOLORCHANGE should be passed to the original dialog procedure DefDlgProcW(), which can then
forward WM_SYSCOLORCHANGE to its common controls and call COMCTL32_RefreshSysColors().

Fix wrong property sheet tab background color after winecfg disables theming.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44511
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-28 10:25:02 +02:00
Nikolay Sivov 564d5804b1 comctl32: Use wide-char string literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 17:51:30 +01:00
Nikolay Sivov db2a3b7028 comctl32: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:16:27 +01:00
Piotr Caban 7e3103199c comctl32: Prevent double theme closing when WM_DESTROY is called many times. 2011-06-27 15:07:14 -05:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Marcus Meissner a7ca25aa20 comctl32: Remove unneccessary default debug channels. 2006-08-26 18:54:05 +02:00
Alexandre Julliard ac30d46b69 comctl32: Dialog procedures should be called with CallWindowProc. 2006-05-26 16:34:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Frank Richter 4946623d2b Add WM_CTLCOLORSTATIC handler to dialog theming subclass so static
text can appear transparent (for e.g. tab pages which commonly have a
"fancy" background).
2005-08-25 15:20:48 +00:00
Frank Richter f02d6df55c Add theming support for dialogs (to support tab page background). 2005-08-19 10:05:34 +00:00