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
f4ca35f6
Commit
f4ca35f6
authored
Oct 23, 1999
by
Noomen Hamza
Committed by
Alexandre Julliard
Oct 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Listview items will be drawn with the right item dimensions.
parent
f0e0ded1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
listview.c
dlls/comctl32/listview.c
+6
-4
No files found.
dlls/comctl32/listview.c
View file @
f4ca35f6
...
...
@@ -2084,6 +2084,8 @@ static VOID LISTVIEW_RefreshList(HWND hwnd, HDC hdc)
INT
nItem
;
INT
nColumnCount
;
INT
nCountPerColumn
;
INT
nItemWidth
=
LISTVIEW_GetItemWidth
(
hwnd
);
INT
nItemHeight
=
LISTVIEW_GetItemHeight
(
hwnd
);
/* get number of fully visible columns */
nColumnCount
=
LISTVIEW_GetColumnCount
(
hwnd
);
...
...
@@ -2097,10 +2099,10 @@ static VOID LISTVIEW_RefreshList(HWND hwnd, HDC hdc)
if
(
nItem
>=
GETITEMCOUNT
(
infoPtr
))
return
;
rcItem
.
top
=
j
*
infoPtr
->
nItemHeight
;
rcItem
.
left
=
i
*
infoPtr
->
nItemWidth
;
rcItem
.
bottom
=
rcItem
.
top
+
infoPtr
->
nItemHeight
;
rcItem
.
right
=
rcItem
.
left
+
infoPtr
->
nItemWidth
;
rcItem
.
top
=
j
*
nItemHeight
;
rcItem
.
left
=
i
*
nItemWidth
;
rcItem
.
bottom
=
rcItem
.
top
+
nItemHeight
;
rcItem
.
right
=
rcItem
.
left
+
nItemWidth
;
LISTVIEW_DrawItem
(
hwnd
,
hdc
,
nItem
,
rcItem
);
}
}
...
...
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