mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:42:56 +00:00
[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. svn path=/branches/shell-experiments/; revision=64727
This commit is contained in:
parent
ec0cfbe374
commit
11bbfc4a0b
1 changed files with 4 additions and 0 deletions
|
@ -934,6 +934,10 @@ HRESULT CMenuBand::_MenuItemHotTrack(DWORD changeType)
|
||||||
switch (changeType)
|
switch (changeType)
|
||||||
{
|
{
|
||||||
case MPOS_EXECUTE:
|
case MPOS_EXECUTE:
|
||||||
|
if (m_subMenuParent)
|
||||||
|
{
|
||||||
|
m_subMenuParent->OnSelect(changeType);
|
||||||
|
}
|
||||||
m_hotBar->ExecuteItem(m_hotItem);
|
m_hotBar->ExecuteItem(m_hotItem);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue