Fix keyboard navigation of menus (up/down keys)

Patch by IJM <mailnew2ster AT mail.ru>

svn path=/trunk/; revision=44012
This commit is contained in:
KJK::Hyperion 2009-11-07 19:21:13 +00:00
parent 290a30a5cb
commit 53c5d2f826

View file

@ -3553,7 +3553,8 @@ MenuTrackMenu(HMENU Menu, UINT Flags, INT x, INT y,
} }
else /* otherwise try to move selection */ 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; break;