From 53c5d2f8263d546dddacbbd554046ff9ea7503d9 Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Sat, 7 Nov 2009 19:21:13 +0000 Subject: [PATCH] Fix keyboard navigation of menus (up/down keys) Patch by IJM svn path=/trunk/; revision=44012 --- reactos/dll/win32/user32/windows/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/menu.c b/reactos/dll/win32/user32/windows/menu.c index a1fdb22f17d..899b778ef81 100644 --- a/reactos/dll/win32/user32/windows/menu.c +++ b/reactos/dll/win32/user32/windows/menu.c @@ -3553,7 +3553,8 @@ MenuTrackMenu(HMENU Menu, UINT Flags, INT x, INT y, } else /* otherwise try to move selection */ { - MenuMoveSelection(Mt.OwnerWnd, &MenuInfo, ITEM_NEXT); + MenuMoveSelection(Mt.OwnerWnd, &MenuInfo, + VK_DOWN == Msg.wParam ? ITEM_NEXT : ITEM_PREV); } } break;