* Fix keyboard navigation on vertical popup menus. Navigating through the menubar does not work yet.
CORE-7586

svn path=/branches/shell-experiments/; revision=62753
This commit is contained in:
David Quintana 2014-04-15 15:53:17 +00:00
parent ba203171e1
commit 5e4427d973
2 changed files with 6 additions and 4 deletions

View file

@ -913,7 +913,7 @@ HRESULT CMenuToolbarBase::KeyboardItemChange(DWORD dwSelectType)
if (prev != btn.idCommand)
{
TRACE("Setting Hot item to %d\n", index);
m_menuBand->_ChangeHotItem(this, index, 0);
m_menuBand->_ChangeHotItem(this, btn.idCommand, 0);
}
return S_OK;
}
@ -927,6 +927,8 @@ HRESULT CMenuToolbarBase::KeyboardItemChange(DWORD dwSelectType)
index++;
}
}
return S_FALSE;
}
if (prev != -1)