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
8e74404f
Commit
8e74404f
authored
Dec 31, 2003
by
Rein Klazes
Committed by
Alexandre Julliard
Dec 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IsdialogMessage16 must not process messages that are not intended for
the dialog box.
parent
e9ae6a72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
msg16.c
dlls/user/msg16.c
+7
-2
No files found.
dlls/user/msg16.c
View file @
8e74404f
...
...
@@ -345,19 +345,24 @@ LONG WINAPI DispatchMessage32_16( const MSG32_16 *msg16, BOOL16 wHaveParamHigh )
BOOL16
WINAPI
IsDialogMessage16
(
HWND16
hwndDlg
,
MSG16
*
msg16
)
{
MSG
msg
;
HWND
hwndDlg32
;
msg
.
hwnd
=
WIN_Handle32
(
msg16
->
hwnd
);
hwndDlg32
=
WIN_Handle32
(
hwndDlg
);
switch
(
msg16
->
message
)
{
case
WM_KEYDOWN
:
case
WM_CHAR
:
case
WM_SYSCHAR
:
msg
.
hwnd
=
WIN_Handle32
(
msg16
->
hwnd
);
msg
.
lParam
=
msg16
->
lParam
;
WINPROC_MapMsg16To32W
(
msg
.
hwnd
,
msg16
->
message
,
msg16
->
wParam
,
&
msg
.
message
,
&
msg
.
wParam
,
&
msg
.
lParam
);
/* these messages don't need an unmap */
return
IsDialogMessageW
(
WIN_Handle32
(
hwndDlg
)
,
&
msg
);
return
IsDialogMessageW
(
hwndDlg32
,
&
msg
);
}
if
((
hwndDlg32
!=
msg
.
hwnd
)
&&
!
IsChild
(
hwndDlg32
,
msg
.
hwnd
))
return
FALSE
;
TranslateMessage16
(
msg16
);
DispatchMessage16
(
msg16
);
return
TRUE
;
...
...
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