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
2f989163
Commit
2f989163
authored
Jul 07, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Fix hittest flag calculation for negative Y values on report mode.
parent
86e4d1cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
listview.c
dlls/comctl32/listview.c
+1
-3
listview.c
dlls/comctl32/tests/listview.c
+1
-1
No files found.
dlls/comctl32/listview.c
View file @
2f989163
...
...
@@ -6820,9 +6820,7 @@ static INT LISTVIEW_HitTest(const LISTVIEW_INFO *infoPtr, LPLVHITTESTINFO lpht,
else
opt
.
y
=
lpht
->
pt
.
y
;
if
(
infoPtr
->
rcList
.
top
>
opt
.
y
)
lpht
->
flags
|=
LVHT_ABOVE
;
else
if
(
infoPtr
->
rcList
.
bottom
<
opt
.
y
)
if
(
infoPtr
->
rcList
.
bottom
<
opt
.
y
)
lpht
->
flags
|=
LVHT_BELOW
;
}
else
...
...
dlls/comctl32/tests/listview.c
View file @
2f989163
...
...
@@ -2675,7 +2675,7 @@ static void test_hittest(void)
/* subitem returned with -1 item too */
x
=
pos
.
x
+
150
;
y
=
-
10
;
test_lvm_subitemhittest
(
hwnd
,
x
,
y
,
-
1
,
1
,
LVHT_NOWHERE
,
FALSE
,
FALSE
,
TRU
E
,
__LINE__
);
test_lvm_subitemhittest
(
hwnd
,
x
,
y
,
-
1
,
1
,
LVHT_NOWHERE
,
FALSE
,
FALSE
,
FALS
E
,
__LINE__
);
/* parent client area is 100x100 by default */
MoveWindow
(
hwnd
,
0
,
0
,
300
,
100
,
FALSE
);
x
=
pos
.
x
+
150
;
/* outside column */
...
...
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