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
0edb0233
Commit
0edb0233
authored
Sep 21, 2012
by
Daniel Jelinski
Committed by
Alexandre Julliard
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Use GetWindowLong to check for scrollbar.
dwStyle is updated only in WM_STYLECHANGED, which is not sent when displaying and hiding scrollbars.
parent
3dc0d93f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
listview.c
dlls/comctl32/listview.c
+1
-1
No files found.
dlls/comctl32/listview.c
View file @
0edb0233
...
...
@@ -10878,7 +10878,7 @@ static void LISTVIEW_UpdateSize(LISTVIEW_INFO *infoPtr)
* The "2" is there to mimic the native control. I think it may be
* related to either padding or edges. (GLA 7/2002)
*/
if
(
!
(
infoPtr
->
dwStyle
&
WS_HSCROLL
))
if
(
!
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
WS_HSCROLL
))
infoPtr
->
rcList
.
bottom
-=
GetSystemMetrics
(
SM_CYHSCROLL
);
infoPtr
->
rcList
.
bottom
=
max
(
infoPtr
->
rcList
.
bottom
-
2
,
0
);
}
...
...
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