[BROWSEUI]

- CExplorerBand: TranslateAcceleratorIO should return S_FALSE when it doesn't process the message in order to let other components process it.
CORE-11709

svn path=/trunk/; revision=72043
This commit is contained in:
Giannis Adamopoulos 2016-07-29 10:38:22 +00:00
parent b5746c9e6b
commit 0aed20a50c

View file

@ -799,11 +799,15 @@ HRESULT STDMETHODCALLTYPE CExplorerBand::HasFocusIO()
HRESULT STDMETHODCALLTYPE CExplorerBand::TranslateAcceleratorIO(LPMSG lpMsg)
{
TranslateMessage(lpMsg);
DispatchMessage(lpMsg);
return S_OK;
}
if (lpMsg->hwnd == m_hWnd)
{
TranslateMessage(lpMsg);
DispatchMessage(lpMsg);
return S_OK;
}
return S_FALSE;
}
// *** IPersist methods ***
HRESULT STDMETHODCALLTYPE CExplorerBand::GetClassID(CLSID *pClassID)