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
d240ae8d
Commit
d240ae8d
authored
Feb 20, 2004
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented LISTVIEW_ApproximateViewRect for LVS_REPORT.
parent
bb6fde28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
listview.c
dlls/comctl32/listview.c
+20
-1
No files found.
dlls/comctl32/listview.c
View file @
d240ae8d
...
...
@@ -4000,7 +4000,26 @@ static DWORD LISTVIEW_ApproximateViewRect(LISTVIEW_INFO *infoPtr, INT nItemCount
dwViewRect
=
MAKELONG
(
wWidth
,
wHeight
);
}
else
if
(
uView
==
LVS_REPORT
)
FIXME
(
"uView == LVS_REPORT: not implemented
\n
"
);
{
RECT
rcBox
;
if
(
infoPtr
->
nItemCount
>
0
)
{
LISTVIEW_GetItemBox
(
infoPtr
,
0
,
&
rcBox
);
wWidth
=
rcBox
.
right
-
rcBox
.
left
;
wHeight
=
(
rcBox
.
bottom
-
rcBox
.
top
)
*
nItemCount
;
}
else
{
/* use current height and width */
if
(
wHeight
==
0xffff
)
wHeight
=
infoPtr
->
rcList
.
bottom
-
infoPtr
->
rcList
.
top
;
if
(
wWidth
==
0xffff
)
wWidth
=
infoPtr
->
rcList
.
right
-
infoPtr
->
rcList
.
left
;
}
dwViewRect
=
MAKELONG
(
wWidth
,
wHeight
);
}
else
if
(
uView
==
LVS_SMALLICON
)
FIXME
(
"uView == LVS_SMALLICON: not implemented
\n
"
);
else
if
(
uView
==
LVS_ICON
)
...
...
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