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
629f382a
Commit
629f382a
authored
Apr 12, 2011
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix the single menu item activation using a hot key.
parent
d3a57f80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
menu.c
dlls/user32/menu.c
+1
-1
msg.c
dlls/user32/tests/msg.c
+1
-1
No files found.
dlls/user32/menu.c
View file @
629f382a
...
...
@@ -3397,7 +3397,7 @@ void MENU_TrackKbdMenuBar( HWND hwnd, UINT wParam, WCHAR wChar)
if
(
uItem
==
NO_SELECTED_ITEM
)
MENU_MoveSelection
(
hwnd
,
hTrackMenu
,
ITEM_NEXT
);
else
PostMessageW
(
hwnd
,
WM_KEYDOWN
,
VK_
DOWN
,
0L
);
PostMessageW
(
hwnd
,
WM_KEYDOWN
,
VK_
RETURN
,
0
);
}
track_menu:
...
...
dlls/user32/tests/msg.c
View file @
629f382a
...
...
@@ -12163,7 +12163,7 @@ static void test_menu_messages(void)
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
}
ok_sequence
(
wm_single_menu_item
,
"single menu item command"
,
TRU
E
);
ok_sequence
(
wm_single_menu_item
,
"single menu item command"
,
FALS
E
);
set_menu_style
(
hmenu
,
0
);
style
=
get_menu_style
(
hmenu
);
...
...
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