Sweden-Number/dlls/comctl32/tests
Zhiyi Zhang 8107462b8a comctl32/toolbar: Don't use outside theme handles.
Fix Spy++ Toolbar buttons have artifacts. Spy++ first creates a Toolbar window, then calls
OpenThemeData(hwnd, "Rebar") with the Toolbar window. Then when the Toolbar control uses the theme
handle from GetWindowTheme(), it gets a Rebar theme the next time it draws, thus drawing wrong theme
parts.

According the tests, not all of the common controls have such behaviors. Some of them do have theme
handles opened by their window and then use that theme handle afterwards even it's changed from the
outside. However, for other controls, the behaviors are not very consistent across all Windows
versions. Also no applications depend on such behaviors for other controls yet. So, only modify the
Toolbar control for now.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:46 +02:00
..
Makefile.in
animate.c
bmp1x1_32bpp.bmp
bmp80x15.bmp
bmp128x15.bmp
button.c
combo.c comctl32/tests: Remove unnecessary macro. 2021-04-12 19:34:17 +02:00
datetime.c
dpa.c
edit.c
header.c
imagelist.c
ipaddress.c
listbox.c
listview.c
misc.c comctl32/theme_dialog: Pass the WM_SYSCOLORCHANGE message to the original dialog procedure. 2021-04-28 10:25:02 +02:00
monthcal.c
mru.c
msg.h
pager.c
progress.c
propsheet.c
rebar.c
resources.h
rsrc.rc
static.c
status.c
subclass.c
syslink.c
tab.c
taskdialog.c
toolbar.c comctl32/toolbar: Don't use outside theme handles. 2021-06-22 17:57:46 +02:00
tooltips.c
trackbar.c
treeview.c
updown.c comctl32/tests: Add UDS_SETBUDDY tests. 2021-06-22 17:57:46 +02:00
v6util.h