Author: hyperion
Date: Sat Nov 7 20:21:13 2009
New Revision: 44012
URL:
http://svn.reactos.org/svn/reactos?rev=44012&view=rev
Log:
Fix keyboard navigation of menus (up/down keys)
Patch by IJM <mailnew2ster AT mail.ru>
Modified:
trunk/reactos/dll/win32/user32/windows/menu.c
Modified: trunk/reactos/dll/win32/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] Sat Nov 7 20:21:13 2009
@@ -3553,7 +3553,8 @@
}
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;