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
08bd265f
Commit
08bd265f
authored
Feb 27, 2009
by
Igor Tarasov
Committed by
Alexandre Julliard
Feb 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Make REBAR_StyleChanged respect wParam.
parent
311d260a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rebar.c
dlls/comctl32/rebar.c
+8
-8
No files found.
dlls/comctl32/rebar.c
View file @
08bd265f
...
...
@@ -3469,19 +3469,19 @@ REBAR_Size (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
static
LRESULT
REBAR_StyleChanged
(
REBAR_INFO
*
infoPtr
,
LPARAM
lParam
)
REBAR_StyleChanged
(
REBAR_INFO
*
infoPtr
,
INT
nType
,
const
STYLESTRUCT
*
lpStyle
)
{
STYLESTRUCT
*
ss
=
(
STYLESTRUCT
*
)
lParam
;
TRACE
(
"current style=%08x, styleOld=%08x, style being set to=%08x
\n
"
,
infoPtr
->
dwStyle
,
ss
->
styleOld
,
ss
->
styleNew
);
infoPtr
->
orgStyle
=
infoPtr
->
dwStyle
=
ss
->
styleNew
;
infoPtr
->
dwStyle
,
lpStyle
->
styleOld
,
lpStyle
->
styleNew
);
if
(
nType
==
GWL_STYLE
)
{
infoPtr
->
orgStyle
=
infoPtr
->
dwStyle
=
lpStyle
->
styleNew
;
if
(
GetWindowTheme
(
infoPtr
->
hwndSelf
))
infoPtr
->
dwStyle
&=
~
WS_BORDER
;
/* maybe it should be COMMON_STYLES like in toolbar */
if
((
ss
->
styleNew
^
ss
->
styleOld
)
&
CCS_VERT
)
if
((
lpStyle
->
styleNew
^
lpStyle
->
styleOld
)
&
CCS_VERT
)
REBAR_Layout
(
infoPtr
);
}
return
FALSE
;
}
...
...
@@ -3715,7 +3715,7 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
REBAR_Size
(
infoPtr
,
wParam
,
lParam
);
case
WM_STYLECHANGED
:
return
REBAR_StyleChanged
(
infoPtr
,
lParam
);
return
REBAR_StyleChanged
(
infoPtr
,
wParam
,
(
LPSTYLESTRUCT
)
lParam
);
case
WM_THEMECHANGED
:
return
theme_changed
(
infoPtr
);
...
...
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