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
7f90a8c9
Commit
7f90a8c9
authored
May 23, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Serge Ivanov
Fixed WM_LBUTTONDBLCLK handling.
parent
9ce8382e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
listbox.c
controls/listbox.c
+8
-4
No files found.
controls/listbox.c
View file @
7f90a8c9
...
...
@@ -1870,7 +1870,7 @@ static LRESULT LISTBOX_HandleLButtonDown( WND *wnd, LB_DESCR *descr,
*/
static
LRESULT
LISTBOX_HandleLButtonDownCombo
(
WND
*
pWnd
,
LB_DESCR
*
pDescr
,
WPARAM
wParam
,
INT
x
,
INT
y
)
UINT
msg
,
WPARAM
wParam
,
INT
x
,
INT
y
)
{
RECT
clientRect
,
screenRect
;
POINT
mousePos
;
...
...
@@ -1882,8 +1882,12 @@ static LRESULT LISTBOX_HandleLButtonDownCombo( WND *pWnd, LB_DESCR *pDescr,
if
(
PtInRect
(
&
clientRect
,
mousePos
))
{
/* MousePos is in client, resume normal processing */
return
LISTBOX_HandleLButtonDown
(
pWnd
,
pDescr
,
wParam
,
x
,
y
);
/* MousePos is in client, resume normal processing */
if
(
msg
==
WM_LBUTTONDOWN
)
return
LISTBOX_HandleLButtonDown
(
pWnd
,
pDescr
,
wParam
,
x
,
y
);
else
if
(
pDescr
->
style
&
LBS_NOTIFY
)
SEND_NOTIFICATION
(
pWnd
,
pDescr
,
LBN_DBLCLK
);
return
0
;
}
else
{
...
...
@@ -2906,7 +2910,7 @@ static inline LRESULT WINAPI ComboLBWndProc_locked( WND* wnd, UINT msg,
return
LISTBOX_HandleLButtonUp
(
wnd
,
descr
);
case
WM_LBUTTONDBLCLK
:
case
WM_LBUTTONDOWN
:
return
LISTBOX_HandleLButtonDownCombo
(
wnd
,
descr
,
wParam
,
return
LISTBOX_HandleLButtonDownCombo
(
wnd
,
descr
,
msg
,
wParam
,
(
INT16
)
LOWORD
(
lParam
),
(
INT16
)
HIWORD
(
lParam
)
);
case
WM_MOUSEACTIVATE
:
...
...
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