mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[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:
parent
b5746c9e6b
commit
0aed20a50c
1 changed files with 8 additions and 4 deletions
|
@ -799,11 +799,15 @@ HRESULT STDMETHODCALLTYPE CExplorerBand::HasFocusIO()
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE CExplorerBand::TranslateAcceleratorIO(LPMSG lpMsg)
|
HRESULT STDMETHODCALLTYPE CExplorerBand::TranslateAcceleratorIO(LPMSG lpMsg)
|
||||||
{
|
{
|
||||||
TranslateMessage(lpMsg);
|
if (lpMsg->hwnd == m_hWnd)
|
||||||
DispatchMessage(lpMsg);
|
{
|
||||||
return S_OK;
|
TranslateMessage(lpMsg);
|
||||||
}
|
DispatchMessage(lpMsg);
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
return S_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
// *** IPersist methods ***
|
// *** IPersist methods ***
|
||||||
HRESULT STDMETHODCALLTYPE CExplorerBand::GetClassID(CLSID *pClassID)
|
HRESULT STDMETHODCALLTYPE CExplorerBand::GetClassID(CLSID *pClassID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue