Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b63c1cb2
Commit
b63c1cb2
authored
Oct 02, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Oct 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Capture the mouse when performing a listview marquee selection.
parent
27a44a5d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
listview.c
dlls/comctl32/listview.c
+7
-1
No files found.
dlls/comctl32/listview.c
View file @
b63c1cb2
...
...
@@ -3731,7 +3731,10 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
/* If we're allowing multiple selections, send notification.
If return value is non-zero, cancel. */
if
(
!
(
infoPtr
->
dwStyle
&
LVS_SINGLESEL
)
&&
(
notify_hdr
(
infoPtr
,
LVN_MARQUEEBEGIN
,
&
hdr
)
==
0
))
{
infoPtr
->
bMarqueeSelect
=
TRUE
;
SetCapture
(
infoPtr
->
hwndSelf
);
}
}
else
{
...
...
@@ -9533,9 +9536,12 @@ static LRESULT LISTVIEW_LButtonUp(LISTVIEW_INFO *infoPtr, WORD wKey, INT x, INT
if
(
infoPtr
->
bDragging
||
infoPtr
->
bMarqueeSelect
)
{
/* Remove the marquee rectangle */
/* Remove the marquee rectangle
and release our mouse capture
*/
if
(
infoPtr
->
bMarqueeSelect
)
{
LISTVIEW_InvalidateRect
(
infoPtr
,
&
infoPtr
->
marqueeRect
);
ReleaseCapture
();
}
SetRect
(
&
infoPtr
->
marqueeRect
,
0
,
0
,
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