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
2796763e
Commit
2796763e
authored
Apr 26, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Draw rightmost vertical grid line when needed.
parent
3f0824bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
listview.c
dlls/comctl32/listview.c
+10
-0
No files found.
dlls/comctl32/listview.c
View file @
2796763e
...
...
@@ -4152,6 +4152,7 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
POINT
Origin
;
RANGE
colRange
;
ITERATOR
j
;
BOOL
rmost
;
TRACE
(
"()
\n
"
);
...
...
@@ -4173,6 +4174,9 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
LISTVIEW_GetHeaderRect
(
infoPtr
,
colRange
.
upper
-
1
,
&
rcItem
);
if
(
rcItem
.
left
+
Origin
.
x
<
rcClip
.
right
)
break
;
}
/* is right most vertical line visible? */
LISTVIEW_GetHeaderRect
(
infoPtr
,
DPA_GetPtrCount
(
infoPtr
->
hdpaColumns
)
-
1
,
&
rcItem
);
rmost
=
(
rcItem
.
right
+
Origin
.
x
<
rcClip
.
right
);
if
((
hPen
=
CreatePen
(
PS_SOLID
,
1
,
comctl32_color
.
clr3dFace
)))
{
...
...
@@ -4193,6 +4197,12 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
LineTo
(
hdc
,
rcItem
.
left
,
rcItem
.
bottom
);
}
iterator_destroy
(
&
j
);
/* draw rightmost grid line if visible */
if
(
rmost
)
{
MoveToEx
(
hdc
,
rcItem
.
right
,
rcItem
.
top
,
NULL
);
LineTo
(
hdc
,
rcItem
.
right
,
rcItem
.
bottom
);
}
/* draw the horizontial lines for the rows */
itemheight
=
LISTVIEW_CalculateItemHeight
(
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