Author: dquintana Date: Mon Oct 13 16:09:57 2014 New Revision: 64727
URL: http://svn.reactos.org/svn/reactos?rev=64727&view=rev Log: [RSHELL] * 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.
Modified: branches/shell-experiments/base/shell/rshell/CMenuBand.cpp
Modified: branches/shell-experiments/base/shell/rshell/CMenuBand.cpp URL: http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rsh... ============================================================================== --- branches/shell-experiments/base/shell/rshell/CMenuBand.cpp [iso-8859-1] (original) +++ branches/shell-experiments/base/shell/rshell/CMenuBand.cpp [iso-8859-1] Mon Oct 13 16:09:57 2014 @@ -934,6 +934,10 @@ switch (changeType) { case MPOS_EXECUTE: + if (m_subMenuParent) + { + m_subMenuParent->OnSelect(changeType); + } m_hotBar->ExecuteItem(m_hotItem); break;