Author: dquintana
Date: Wed Oct 29 22:50:27 2014
New Revision: 65114
URL:
http://svn.reactos.org/svn/reactos?rev=65114&view=rev
Log:
[RSHELL]
* Hopefully fix the start menu closing randomly. May have side-effects, but I think
it's best to be conservative here and prefer the possibility of the menu staying open
unexpectedly, rather than closing unexpectedly.
Modified:
branches/shell-experiments/base/shell/rshell/CMenuDeskBar.cpp
Modified: branches/shell-experiments/base/shell/rshell/CMenuDeskBar.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
==============================================================================
--- branches/shell-experiments/base/shell/rshell/CMenuDeskBar.cpp [iso-8859-1] (original)
+++ branches/shell-experiments/base/shell/rshell/CMenuDeskBar.cpp [iso-8859-1] Wed Oct 29
22:50:27 2014
@@ -501,6 +501,7 @@
CComPtr<IMenuPopup> oldParent = m_SubMenuParent;
+ TRACE("OnSelect dwSelectType=%d\n", this, dwSelectType);
switch (dwSelectType)
{
case MPOS_EXECUTE:
@@ -705,9 +706,11 @@
LRESULT CMenuDeskBar::_OnAppActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL
&bHandled)
{
+#if 0
if (wParam == 0 && m_Shown)
{
OnSelect(MPOS_FULLCANCEL);
}
+#endif
return 0;
}