Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
109a10c9
Commit
109a10c9
authored
May 18, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/rebar: Use cached colors instead of GetSysColor for Rebar.
parent
cf67786e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
rebar.c
dlls/comctl32/rebar.c
+5
-6
No files found.
dlls/comctl32/rebar.c
View file @
109a10c9
...
...
@@ -3190,8 +3190,8 @@ REBAR_NCCreate (HWND hwnd, LPARAM lParam)
/* initialize info structure - initial values are 0 */
infoPtr
->
clrBk
=
CLR_NONE
;
infoPtr
->
clrText
=
CLR_NONE
;
infoPtr
->
clrBtnText
=
GetSysColor
(
COLOR_BTNTEXT
)
;
infoPtr
->
clrBtnFace
=
GetSysColor
(
COLOR_BTNFACE
)
;
infoPtr
->
clrBtnText
=
comctl32_color
.
clrBtnText
;
infoPtr
->
clrBtnFace
=
comctl32_color
.
clrBtnFace
;
infoPtr
->
iOldBand
=
-
1
;
infoPtr
->
ichevronhotBand
=
-
2
;
infoPtr
->
iGrabbedBand
=
-
1
;
...
...
@@ -3720,10 +3720,9 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_THEMECHANGED
:
return
theme_changed
(
infoPtr
);
/* case WM_SYSCOLORCHANGE: supported according to ControlSpy */
/* "Applications that have brushes using the existing system colors
should delete those brushes and recreate them using the new
system colors." per MSDN */
case
WM_SYSCOLORCHANGE
:
COMCTL32_RefreshSysColors
();
return
0
;
/* case WM_VKEYTOITEM: supported according to ControlSpy */
/* case WM_WININICHANGE: */
...
...
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