mirror of
https://github.com/reactos/reactos.git
synced 2025-06-22 18:50:17 +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:
parent
78790baf2e
commit
663bc1da24
4 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue