user32: Fix the single menu item activation using a hot key.
This commit is contained in:
parent
d3a57f8079
commit
629f382a80
|
@ -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:
|
||||
|
|
|
@ -12163,7 +12163,7 @@ static void test_menu_messages(void)
|
|||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
ok_sequence(wm_single_menu_item, "single menu item command", TRUE);
|
||||
ok_sequence(wm_single_menu_item, "single menu item command", FALSE);
|
||||
|
||||
set_menu_style(hmenu, 0);
|
||||
style = get_menu_style(hmenu);
|
||||
|
|
Loading…
Reference in New Issue