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
4205c64e
Commit
4205c64e
authored
Oct 17, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Oct 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: rebar: Use SM_CYEDGE for heights in NCCalcSize.
parent
98a42ad5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rebar.c
dlls/comctl32/rebar.c
+3
-2
No files found.
dlls/comctl32/rebar.c
View file @
4205c64e
...
...
@@ -4119,11 +4119,12 @@ REBAR_NCCalcSize (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
if
(
infoPtr
->
dwStyle
&
WS_BORDER
)
{
rect
->
left
=
min
(
rect
->
left
+
GetSystemMetrics
(
SM_CXEDGE
),
rect
->
right
);
rect
->
right
=
max
(
rect
->
right
-
GetSystemMetrics
(
SM_CXEDGE
),
rect
->
left
);
rect
->
top
=
min
(
rect
->
top
+
GetSystemMetrics
(
SM_C
X
EDGE
),
rect
->
bottom
);
rect
->
bottom
=
max
(
rect
->
bottom
-
GetSystemMetrics
(
SM_C
X
EDGE
),
rect
->
top
);
rect
->
top
=
min
(
rect
->
top
+
GetSystemMetrics
(
SM_C
Y
EDGE
),
rect
->
bottom
);
rect
->
bottom
=
max
(
rect
->
bottom
-
GetSystemMetrics
(
SM_C
Y
EDGE
),
rect
->
top
);
}
else
if
((
theme
=
GetWindowTheme
(
infoPtr
->
hwndSelf
)))
{
/* FIXME: should use GetThemeInt */
rect
->
top
=
min
(
rect
->
top
+
1
,
rect
->
bottom
);
}
TRACE
(
"new client=(%d,%d)-(%d,%d)
\n
"
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
...
...
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