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
d03e63cc
Commit
d03e63cc
authored
Jun 22, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Test for parent sequence when creating with LVS_OWNERDRAWFIXED.
parent
6ddc981c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
listview.c
dlls/comctl32/tests/listview.c
+15
-0
No files found.
dlls/comctl32/tests/listview.c
View file @
d03e63cc
...
...
@@ -114,6 +114,14 @@ static const struct message create_parent_wnd_seq[] = {
{
0
}
};
static
const
struct
message
create_ownerdrawfixed_parent_seq
[]
=
{
{
WM_NOTIFYFORMAT
,
sent
},
{
WM_QUERYUISTATE
,
sent
|
optional
},
/* Win2K and higher */
{
WM_MEASUREITEM
,
sent
},
{
WM_PARENTNOTIFY
,
sent
},
{
0
}
};
static
const
struct
message
redraw_listview_seq
[]
=
{
{
WM_PAINT
,
sent
|
id
,
0
,
0
,
LISTVIEW_ID
},
{
WM_PAINT
,
sent
|
id
,
0
,
0
,
HEADER_ID
},
...
...
@@ -1392,6 +1400,13 @@ static void test_create(void)
ok
(
NULL
==
GetDlgItem
(
hList
,
0
),
"NULL dialog item expected
\n
"
);
DestroyWindow
(
hList
);
/* WM_MEASUREITEM should be sent when created with LVS_OWNERDRAWFIXED */
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
hList
=
create_listview_control
(
LVS_OWNERDRAWFIXED
);
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
create_ownerdrawfixed_parent_seq
,
"created with LVS_OWNERDRAWFIXED - parent seq"
,
TRUE
);
DestroyWindow
(
hList
);
}
static
void
test_redraw
(
void
)
...
...
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