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
6101a480
Commit
6101a480
authored
May 29, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: A bunch of LVM_GETSUBITEMRECT tests.
parent
dd24e5de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
listview.c
dlls/comctl32/tests/listview.c
+35
-0
No files found.
dlls/comctl32/tests/listview.c
View file @
6101a480
...
...
@@ -1827,6 +1827,41 @@ todo_wine
todo_wine
expect
(
3
,
rect
.
top
);
/* item LVS_REPORT padding isn't applied to subitems */
insert_item
(
hwnd
,
0
);
rect
.
left
=
LVIR_BOUNDS
;
rect
.
top
=
1
;
rect
.
right
=
rect
.
bottom
=
0
;
r
=
SendMessage
(
hwnd
,
LVM_GETSUBITEMRECT
,
0
,
(
LPARAM
)
&
rect
);
ok
(
r
!=
0
,
"Expected not-null LRESULT
\n
"
);
todo_wine
{
expect
(
100
,
rect
.
left
);
expect
(
250
,
rect
.
right
);
}
rect
.
left
=
LVIR_ICON
;
rect
.
top
=
1
;
rect
.
right
=
rect
.
bottom
=
0
;
r
=
SendMessage
(
hwnd
,
LVM_GETSUBITEMRECT
,
0
,
(
LPARAM
)
&
rect
);
ok
(
r
!=
0
,
"Expected not-null LRESULT
\n
"
);
/* no icon attached - zero width rectangle */
todo_wine
{
expect
(
100
,
rect
.
left
);
expect
(
100
,
rect
.
right
);
}
rect
.
left
=
LVIR_LABEL
;
rect
.
top
=
1
;
rect
.
right
=
rect
.
bottom
=
0
;
r
=
SendMessage
(
hwnd
,
LVM_GETSUBITEMRECT
,
0
,
(
LPARAM
)
&
rect
);
ok
(
r
!=
0
,
"Expected not-null LRESULT
\n
"
);
/* should equal to LVIR_BOUNDS */
todo_wine
{
expect
(
100
,
rect
.
left
);
expect
(
250
,
rect
.
right
);
}
DestroyWindow
(
hwnd
);
/* try it for non LVS_REPORT style */
...
...
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