mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 09:03:50 +00:00
[RSHELL]
* 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:
parent
ba203171e1
commit
5e4427d973
2 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue