• Zhiyi Zhang's avatar
    comctl32/toolbar: Don't use outside theme handles. · 8107462b
    Zhiyi Zhang authored
    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: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    8107462b
Name
Last commit
Last update
..
Makefile.in Loading commit data...
animate.c Loading commit data...
bmp128x15.bmp Loading commit data...
bmp1x1_32bpp.bmp Loading commit data...
bmp80x15.bmp Loading commit data...
button.c Loading commit data...
combo.c Loading commit data...
datetime.c Loading commit data...
dpa.c Loading commit data...
edit.c Loading commit data...
header.c Loading commit data...
imagelist.c Loading commit data...
ipaddress.c Loading commit data...
listbox.c Loading commit data...
listview.c Loading commit data...
misc.c Loading commit data...
monthcal.c Loading commit data...
mru.c Loading commit data...
msg.h Loading commit data...
pager.c Loading commit data...
progress.c Loading commit data...
propsheet.c Loading commit data...
rebar.c Loading commit data...
resources.h Loading commit data...
rsrc.rc Loading commit data...
static.c Loading commit data...
status.c Loading commit data...
subclass.c Loading commit data...
syslink.c Loading commit data...
tab.c Loading commit data...
taskdialog.c Loading commit data...
toolbar.c Loading commit data...
tooltips.c Loading commit data...
trackbar.c Loading commit data...
treeview.c Loading commit data...
updown.c Loading commit data...
v6util.h Loading commit data...