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
ba296e38
Commit
ba296e38
authored
Jul 18, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Jul 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed fake WM_LBUTTONUP message.
parent
d736ef4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
combo.c
controls/combo.c
+6
-6
No files found.
controls/combo.c
View file @
ba296e38
...
...
@@ -1163,16 +1163,16 @@ static void CBRollUp( LPHEADCOMBO lphc, BOOL ok, BOOL bButton )
TRACE
(
"[%04x]: roll up [%i]
\n
"
,
CB_HWND
(
lphc
),
(
INT
)
ok
);
/*
* It seems useful to send the WM_LBUTTONUP with (-1,-1) when cancelling
* and with (0,0) (anywhere in the listbox) when Oking.
*/
SendMessageA
(
lphc
->
hWndLBox
,
WM_LBUTTONUP
,
0
,
ok
?
(
LPARAM
)
0
:
(
LPARAM
)(
-
1
)
);
if
(
lphc
->
wState
&
CBF_DROPPED
)
{
RECT
rect
;
/*
* It seems useful to send the WM_LBUTTONUP with (-1,-1) when cancelling
* and with (0,0) (anywhere in the listbox) when Oking.
*/
SendMessageA
(
lphc
->
hWndLBox
,
WM_LBUTTONUP
,
0
,
ok
?
(
LPARAM
)
0
:
(
LPARAM
)(
-
1
)
);
lphc
->
wState
&=
~
CBF_DROPPED
;
ShowWindow
(
lphc
->
hWndLBox
,
SW_HIDE
);
...
...
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