* Actually send an OnSelect message right before executing the menu items. Fixes the problem where going to start->shutdown would keep the start menu open in the background.

svn path=/branches/shell-experiments/; revision=64727
This commit is contained in:
David Quintana 2014-10-13 16:09:57 +00:00
parent ec0cfbe374
commit 11bbfc4a0b

View file

@ -934,6 +934,10 @@ HRESULT CMenuBand::_MenuItemHotTrack(DWORD changeType)
switch (changeType)
{
case MPOS_EXECUTE:
if (m_subMenuParent)
{
m_subMenuParent->OnSelect(changeType);
}
m_hotBar->ExecuteItem(m_hotItem);
break;