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
5e5a58b1
Commit
5e5a58b1
authored
Jun 09, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Test for indentation callback.
parent
764974e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
listview.c
dlls/comctl32/tests/listview.c
+30
-0
No files found.
dlls/comctl32/tests/listview.c
View file @
5e5a58b1
...
...
@@ -3280,6 +3280,35 @@ static void test_notifyformat(void)
DestroyWindow
(
hwndparentW
);
}
static
void
test_indentation
(
void
)
{
HWND
hwnd
;
LVITEMA
item
;
DWORD
r
;
hwnd
=
create_listview_control
(
0
);
ok
(
hwnd
!=
NULL
,
"failed to create a listview window
\n
"
);
memset
(
&
item
,
0
,
sizeof
(
item
));
item
.
mask
=
LVIF_INDENT
;
item
.
iItem
=
0
;
item
.
iIndent
=
I_INDENTCALLBACK
;
r
=
SendMessage
(
hwnd
,
LVM_INSERTITEMA
,
0
,
(
LPARAM
)
&
item
);
expect
(
0
,
r
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
item
.
iItem
=
0
;
item
.
mask
=
LVIF_INDENT
;
r
=
SendMessage
(
hwnd
,
LVM_GETITEM
,
0
,
(
LPARAM
)
&
item
);
expect
(
TRUE
,
r
);
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
single_getdispinfo_parent_seq
,
"get indent dispinfo"
,
TRUE
);
DestroyWindow
(
hwnd
);
}
START_TEST
(
listview
)
{
HMODULE
hComctl32
;
...
...
@@ -3330,6 +3359,7 @@ START_TEST(listview)
test_columnscreation
();
test_editbox
();
test_notifyformat
();
test_indentation
();
DestroyWindow
(
hwndparent
);
}
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