Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4b4cfff4
Commit
4b4cfff4
authored
Oct 07, 2007
by
Reece H. Dunn
Committed by
Alexandre Julliard
Oct 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fixed drawing the trackbar background when themes are installed.
parent
8422a64a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
trackbar.c
dlls/comctl32/trackbar.c
+6
-1
No files found.
dlls/comctl32/trackbar.c
View file @
4b4cfff4
...
...
@@ -824,6 +824,7 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
HBITMAP
hOldBmp
=
0
,
hOffScreenBmp
=
0
;
NMCUSTOMDRAW
nmcd
;
int
gcdrf
,
icdrf
;
HTHEME
theme
;
if
(
infoPtr
->
flags
&
TB_THUMBCHANGED
)
{
TRACKBAR_UpdateThumb
(
infoPtr
);
...
...
@@ -868,8 +869,12 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
/* Erase backbround */
if
(
gcdrf
==
CDRF_DODEFAULT
||
notify_customdraw
(
infoPtr
,
&
nmcd
,
CDDS_PREERASE
)
!=
CDRF_SKIPDEFAULT
)
{
if
(
GetWindowTheme
(
infoPtr
->
hwndSelf
))
if
((
theme
=
GetWindowTheme
(
infoPtr
->
hwndSelf
)))
{
DrawThemeBackground
(
theme
,
hdc
,
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_VERT
)
?
TKP_TRACKVERT
:
TKP_TRACK
,
TKS_NORMAL
,
&
rcClient
,
0
);
DrawThemeParentBackground
(
infoPtr
->
hwndSelf
,
hdc
,
&
rcClient
);
}
else
FillRect
(
hdc
,
&
rcClient
,
GetSysColorBrush
(
COLOR_BTNFACE
));
if
(
gcdrf
!=
CDRF_DODEFAULT
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment