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 comctl32/button: Use themed painting when possible for handling WM_SETTEXT. 2021-03-03 21:54:45 +01:00
combo.c comctl32/tests: Remove unnecessary macro. 2021-04-12 19:34:17 +02:00
datetime.c comctl32/datetime: Do not call default procedure for WM_NCCREATE. 2020-09-25 10:48:45 +02:00
dpa.c comctl32: Fix DPA_GetPtr() prototype. 2021-03-09 21:33:43 +01:00
edit.c
header.c
imagelist.c comctl32: Remove the masked background when 32bpp bitmaps have no alpha values. 2021-01-06 21:53:17 +01:00
ipaddress.c comctl32/tests: Fix loop bounds. 2020-10-09 16:21:33 +02:00
listbox.c
listview.c comctl32/tests: Remove some workarounds from ListView tests. 2020-10-05 20:51:42 +02:00
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 comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
msg.h
pager.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
progress.c
propsheet.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
rebar.c
resources.h
rsrc.rc
static.c
status.c
subclass.c
syslink.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
tab.c
taskdialog.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
toolbar.c comctl32/toolbar: Don't use outside theme handles. 2021-06-22 17:57:46 +02:00
tooltips.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
trackbar.c
treeview.c comctl32/tests: Use wide strings literals. 2020-09-25 10:48:48 +02:00
updown.c comctl32/tests: Add UDS_SETBUDDY tests. 2021-06-22 17:57:46 +02:00
v6util.h