mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
[RSHELL]
* Reduce a few more log differences with windows. CORE-7586 svn path=/branches/shell-experiments/; revision=62254
This commit is contained in:
parent
3b21639530
commit
b6207043c9
3 changed files with 37 additions and 3 deletions
|
@ -1289,8 +1289,28 @@ HRESULT STDMETHODCALLTYPE CMenuBand::ContextSensitiveHelp(BOOL fEnterMode)
|
|||
|
||||
HRESULT STDMETHODCALLTYPE CMenuBand::UIActivateIO(BOOL fActivate, LPMSG lpMsg)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return S_OK;
|
||||
HRESULT hr;
|
||||
|
||||
CComPtr<IMenuPopup> pmp;
|
||||
|
||||
hr = IUnknown_QueryService(m_site, SID_SMenuPopup, IID_PPV_ARG(IMenuPopup, &pmp));
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
hr = pmp->SetSubMenu(this, TRUE);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
CComPtr<IOleWindow> pTopLevelWindow;
|
||||
hr = IUnknown_QueryService(m_site, SID_SMenuPopup, IID_PPV_ARG(IOleWindow, &pTopLevelWindow));
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
hr = pTopLevelWindow->GetWindow(&m_topLevelWindow);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CMenuBand::HasFocusIO()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue