• Zhiyi Zhang's avatar
    uxtheme/tests: Add EnableThemeDialogTexture() tests. · 6f139def
    Zhiyi Zhang authored
    These tests show that DefDlgProcA/W() are hooked to implemented dialog theming, using a pattern
    brush created from the tab body part. For dialogs that need theming, EnableThemeDialogTexture(ETDT_USETABTEXTURE)
    or EnableThemeDialogTexture(ETDT_USEAEROWIZARDTABTEXTURE) is called for the dialog. And then
    static or button controls in comctl32 v6 call EnableThemeDialogTexture(ETDT_ENABLE) to activate it.
    A WM_ERASEBKGND is also needed to activate dialog theming. test_WM_CTLCOLORSTATIC() in dlls/comctl32/tests/static.c
    doesn't send this message after EnableThemeDialogTexture() calls, which misdirected me to think that
    DefDlgProcA/W() are not hooked.
    Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    6f139def
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
buffer.c Loading commit data...
draw.c Loading commit data...
main.c Loading commit data...
metric.c Loading commit data...
msstyles.c Loading commit data...
msstyles.h Loading commit data...
property.c Loading commit data...
scrollbar.c Loading commit data...
stylemap.c Loading commit data...
system.c Loading commit data...
uxini.c Loading commit data...
uxtheme.manifest Loading commit data...
uxtheme.spec Loading commit data...
uxthemedll.h Loading commit data...
version.rc Loading commit data...