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
ebdf2fd2
Commit
ebdf2fd2
authored
Aug 03, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Offset every but LVIR_BOUNDS rectangles to column bound in details view.
parent
021410cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
listview.c
dlls/comctl32/listview.c
+10
-1
No files found.
dlls/comctl32/listview.c
View file @
ebdf2fd2
...
...
@@ -6258,6 +6258,7 @@ static BOOL LISTVIEW_GetItemRect(const LISTVIEW_INFO *infoPtr, INT nItem, LPRECT
BOOL
doLabel
=
TRUE
,
oversizedBox
=
FALSE
;
POINT
Position
,
Origin
;
LVITEMW
lvItem
;
LONG
mode
;
TRACE
(
"(hwnd=%p, nItem=%d, lprc=%p)
\n
"
,
infoPtr
->
hwndSelf
,
nItem
,
lprc
);
...
...
@@ -6294,6 +6295,8 @@ static BOOL LISTVIEW_GetItemRect(const LISTVIEW_INFO *infoPtr, INT nItem, LPRECT
if
(
infoPtr
->
uView
==
LV_VIEW_DETAILS
&&
(
infoPtr
->
dwLvExStyle
&
LVS_EX_FULLROWSELECT
)
&&
lprc
->
left
==
LVIR_SELECTBOUNDS
)
lprc
->
left
=
LVIR_BOUNDS
;
mode
=
lprc
->
left
;
switch
(
lprc
->
left
)
{
case
LVIR_ICON
:
...
...
@@ -6318,7 +6321,13 @@ static BOOL LISTVIEW_GetItemRect(const LISTVIEW_INFO *infoPtr, INT nItem, LPRECT
}
if
(
infoPtr
->
uView
==
LV_VIEW_DETAILS
)
OffsetRect
(
lprc
,
Origin
.
x
,
Position
.
y
+
Origin
.
y
);
{
if
(
mode
!=
LVIR_BOUNDS
)
OffsetRect
(
lprc
,
Origin
.
x
+
LISTVIEW_GetColumnInfo
(
infoPtr
,
0
)
->
rcHeader
.
left
,
Position
.
y
+
Origin
.
y
);
else
OffsetRect
(
lprc
,
Origin
.
x
,
Position
.
y
+
Origin
.
y
);
}
else
OffsetRect
(
lprc
,
Position
.
x
+
Origin
.
x
,
Position
.
y
+
Origin
.
y
);
...
...
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