Author: dquintana Date: Mon Jun 23 17:50:11 2014 New Revision: 63634
URL: http://svn.reactos.org/svn/reactos?rev=63634&view=rev Log: [RSHELL] * Notify the focus manager that we are about to open a context menu, so that it doesn't mess with the menu popup.
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 Jun 23 17:50:11 2014 @@ -762,8 +762,12 @@
HWND hwnd = m_menuOwner ? m_menuOwner : m_topLevelWindow;
+ m_focusManager->PushTrackedPopup(popup); + TRACE("Before Tracking\n"); uCommand = ::TrackPopupMenuEx(popup, TPM_RETURNCMD, x, y, hwnd, NULL); + + m_focusManager->PopTrackedPopup(popup);
if (uCommand != 0) {