mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[RSHELL]
* Prevent the focused window from receiving keyboard events while a shell menu is open. CORE-7586 svn path=/branches/shell-experiments/; revision=62935
This commit is contained in:
@@ -442,6 +442,9 @@ LRESULT CMenuFocusManager::GetMsgHook(INT nCode, WPARAM hookWParam, LPARAM hookL
|
||||
case VK_RMENU:
|
||||
m_current->mb->_MenuItemHotTrack(MPOS_FULLCANCEL);
|
||||
break;
|
||||
case VK_RETURN:
|
||||
m_current->mb->_MenuItemHotTrack(MPOS_EXECUTE);
|
||||
break;
|
||||
case VK_LEFT:
|
||||
m_current->mb->_MenuItemHotTrack(VK_LEFT);
|
||||
break;
|
||||
@@ -455,6 +458,9 @@ LRESULT CMenuFocusManager::GetMsgHook(INT nCode, WPARAM hookWParam, LPARAM hookL
|
||||
m_current->mb->_MenuItemHotTrack(VK_DOWN);
|
||||
break;
|
||||
}
|
||||
msg->message = WM_NULL;
|
||||
msg->lParam = 0;
|
||||
msg->wParam = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user