Sweden-Number/dlls/comctl32
Zhiyi Zhang 7be103bba9 comctl32: Use OpenThemeDataForDpi() to create a theme handle not associated to a window.
If a window is not passed to OpenThemeData(), OpenThemeData() assumes the DPI is 96 according to
tests. And GetThemePartSize() should select theme parts according to the DPI stored in theme
handles rather than using GDI device contexts. Thus, OpenThemeDataForDpi() should be used in place
of OpenThemeData() when DPI is not 96 and theme handles shouldn't be associated with a window.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:06:22 +02:00
..
tests
Makefile.in
animate.c
button.c
combo.c
comboex.c
comctl32.h
comctl32.manifest
comctl32.rc
comctl32.spec
commctrl.c
datetime.c comctl32: Use OpenThemeDataForDpi() to create a theme handle not associated to a window. 2021-09-01 17:06:22 +02:00
dpa.c
draglist.c
dsa.c
edit.c
flatsb.c
header.c
hotkey.c comctl32: Use OpenThemeDataForDpi() to create a theme handle not associated to a window. 2021-09-01 17:06:22 +02:00
idb_cmdlink.bmp
idb_hist_large.bmp
idb_hist_large.svg
idb_hist_small.bmp
idb_hist_small.svg
idb_std_large.bmp
idb_std_large.svg
idb_std_small.bmp
idb_std_small.svg
idb_view_large.bmp
idb_view_large.svg
idb_view_small.bmp
idb_view_small.svg
idc_copy.cur
idc_copy.svg
idc_divider.cur
idc_divider.svg
idc_divideropen.cur
idc_divideropen.svg
idc_movebutton.cur
idc_movebutton.svg
idi_dragarrow.ico
idi_tt_error_sm.ico
idi_tt_info_sm.ico
idi_tt_warn_sm.ico
idt_check.bmp
imagelist.c
ipaddress.c
listbox.c
listview.c
monthcal.c
nativefont.c
pager.c
progress.c
propsheet.c
rebar.c
smoothscroll.c
static.c
status.c
string.c
syslink.c
tab.c
taskdialog.c
toolbar.c comctl32: Use OpenThemeDataForDpi() to create a theme handle not associated to a window. 2021-09-01 17:06:22 +02:00
tooltips.c
trackbar.c
treeview.c
updown.c