user32: F10 key deactivates menu.
This commit is contained in:
parent
c6be6a4bfe
commit
56416b09a6
|
@ -3119,6 +3119,7 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
|
|||
switch(msg.wParam)
|
||||
{
|
||||
case VK_MENU:
|
||||
case VK_F10:
|
||||
fEndMenu = TRUE;
|
||||
break;
|
||||
|
||||
|
|
|
@ -1890,8 +1890,10 @@ static struct menu_mouse_tests_s {
|
|||
{ INPUT_KEYBOARD, {{0}}, {'D', 0}, FALSE, FALSE },
|
||||
{ INPUT_KEYBOARD, {{0}}, {VK_MENU, 'M', 'P', 0}, TRUE, FALSE },
|
||||
{ INPUT_KEYBOARD, {{0}}, {'E', 0}, FALSE, FALSE },
|
||||
{ INPUT_KEYBOARD, {{0}}, {VK_F10, 0}, TRUE, FALSE },
|
||||
{ INPUT_KEYBOARD, {{0}}, {VK_F10, 0}, FALSE, FALSE },
|
||||
|
||||
{ INPUT_MOUSE, {{1, 2}, {0}}, {0}, TRUE, TRUE }, /* test 18 */
|
||||
{ INPUT_MOUSE, {{1, 2}, {0}}, {0}, TRUE, TRUE }, /* test 20 */
|
||||
{ INPUT_MOUSE, {{1, 1}, {0}}, {0}, FALSE, FALSE },
|
||||
{ INPUT_MOUSE, {{1, 0}, {0}}, {0}, TRUE, TRUE },
|
||||
{ INPUT_MOUSE, {{1, 1}, {0}}, {0}, FALSE, FALSE },
|
||||
|
|
Loading…
Reference in New Issue