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
4e224e73
Commit
4e224e73
authored
May 23, 2008
by
Tomasz Jezierski - Tefnet
Committed by
Alexandre Julliard
May 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix for setting wrong initial position in listbox.
parent
914cb228
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
listview.c
dlls/comctl32/tests/listview.c
+1
-1
No files found.
dlls/comctl32/tests/listview.c
View file @
4e224e73
...
@@ -1171,7 +1171,7 @@ static void test_multiselect(void)
...
@@ -1171,7 +1171,7 @@ static void test_multiselect(void)
SendMessage
(
hwnd
,
LVM_SETSELECTIONMARK
,
0
,
-
1
);
SendMessage
(
hwnd
,
LVM_SETSELECTIONMARK
,
0
,
-
1
);
/* set initial position */
/* set initial position */
SendMessage
(
hwnd
,
LVM_SETSELECTIONMARK
,
0
,
(
task
.
initPos
==
-
1
?
item_count
:
task
.
initPos
));
SendMessage
(
hwnd
,
LVM_SETSELECTIONMARK
,
0
,
(
task
.
initPos
==
-
1
?
item_count
-
1
:
task
.
initPos
));
ListView_SetItemState
(
hwnd
,(
task
.
initPos
==
-
1
?
item_count
-
1
:
task
.
initPos
),
LVIS_SELECTED
,
LVIS_SELECTED
);
ListView_SetItemState
(
hwnd
,(
task
.
initPos
==
-
1
?
item_count
-
1
:
task
.
initPos
),
LVIS_SELECTED
,
LVIS_SELECTED
);
selected_count
=
(
int
)
SendMessage
(
hwnd
,
LVM_GETSELECTEDCOUNT
,
0
,
0
);
selected_count
=
(
int
)
SendMessage
(
hwnd
,
LVM_GETSELECTEDCOUNT
,
0
,
0
);
...
...
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