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
30db053f
Commit
30db053f
authored
Sep 16, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept WM_SYSCHAR message for processsing in TranslateAcceleratorW.
parent
81dfe73e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
menu.c
dlls/user/menu.c
+4
-3
No files found.
dlls/user/menu.c
View file @
30db053f
...
...
@@ -4527,7 +4527,7 @@ static BOOL translate_accelerator( HWND hWnd, UINT message, WPARAM wParam, LPARA
if
(
wParam
!=
key
)
return
FALSE
;
if
(
message
==
WM_CHAR
)
if
(
message
==
WM_CHAR
||
message
==
WM_SYSCHAR
)
{
if
(
!
(
fVirt
&
FALT
)
&&
!
(
fVirt
&
FVIRTKEY
)
)
{
...
...
@@ -4697,11 +4697,12 @@ INT WINAPI TranslateAcceleratorW( HWND hWnd, HACCEL hAccel, LPMSG msg )
WARN_
(
accel
)(
"invalid accel handle=%p
\n
"
,
hAccel
);
return
0
;
}
if
(
(
msg
->
message
!=
WM_KEYDOWN
&&
if
(
msg
->
message
!=
WM_KEYDOWN
&&
msg
->
message
!=
WM_KEYUP
&&
msg
->
message
!=
WM_SYSKEYDOWN
&&
msg
->
message
!=
WM_SYSKEYUP
&&
msg
->
message
!=
WM_CHAR
))
return
0
;
msg
->
message
!=
WM_SYSCHAR
&&
msg
->
message
!=
WM_CHAR
)
return
0
;
TRACE_
(
accel
)(
"TranslateAccelerators hAccel=%p, hWnd=%p,"
"msg->hwnd=%p, msg->message=%04x, wParam=%08x, lParam=%lx
\n
"
,
...
...
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