mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[RSHELL]
* Notify the focus manager that we are about to open a context menu, so that it doesn't mess with the menu popup. svn path=/branches/shell-experiments/; revision=63634
This commit is contained in:
parent
8b3b02a2ca
commit
bcf5de9efc
1 changed files with 4 additions and 0 deletions
|
@ -762,9 +762,13 @@ HRESULT CMenuBand::_TrackContextMenu(IContextMenu * contextMenu, INT x, INT y)
|
|||
|
||||
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)
|
||||
{
|
||||
TRACE("Before InvokeCommand\n");
|
||||
|
|
Loading…
Reference in a new issue