Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
1b0f95d7
Commit
1b0f95d7
authored
Sep 27, 2015
by
Michael Müller
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix calculation of listbox size when horizontal scrollbar is present.
Signed-off-by:
Michael Müller
<
michael@fds-team.de
>
parent
8d817f7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
listbox.c
dlls/user32/listbox.c
+3
-0
No files found.
dlls/user32/listbox.c
View file @
1b0f95d7
...
...
@@ -479,8 +479,11 @@ static void LISTBOX_UpdatePage( LB_DESCR *descr )
static
void
LISTBOX_UpdateSize
(
LB_DESCR
*
descr
)
{
RECT
rect
;
LONG
style
=
GetWindowLongW
(
descr
->
self
,
GWL_STYLE
);
GetClientRect
(
descr
->
self
,
&
rect
);
if
(
style
&
WS_HSCROLL
)
rect
.
bottom
+=
GetSystemMetrics
(
SM_CYHSCROLL
);
descr
->
width
=
rect
.
right
-
rect
.
left
;
descr
->
height
=
rect
.
bottom
-
rect
.
top
;
if
(
!
(
descr
->
style
&
LBS_NOINTEGRALHEIGHT
)
&&
!
(
descr
->
style
&
LBS_OWNERDRAWVARIABLE
))
...
...
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