[EXPLORER_NEW]

- Use IMenuPopup_OnSelect to close the start menu when the win key is pressed. 
- Fixes closing the start menu (on windows and on reactos)

svn path=/branches/shell-experiments/; revision=65070
This commit is contained in:
Giannis Adamopoulos 2014-10-28 14:18:16 +00:00
parent 2c619c6486
commit 6f9dab8a15

View file

@ -2889,9 +2889,13 @@ HandleTrayContextMenu:
break;
if (IsWindowVisible(hwndStartMenu))
SetWindowPos(hwndStartMenu, 0,0,0,0,0, SWP_HIDEWINDOW | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER);
{
IMenuPopup_OnSelect(This->StartMenuPopup, MPOS_CANCELLEVEL);
}
else
{
SendMessage(This->hWnd, WM_COMMAND, MAKEWPARAM(BN_CLICKED, IDC_STARTBTN), (LPARAM)This->hwndStart);
}
break;
}