From edcc38c6d1e5ea41863aa765b09213067f10cb20 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 9 Jul 2012 17:45:57 +0200 Subject: [PATCH] ieframe: Call OnInPlaceDeactivate in DoVerb(OLEIVERB_HIDE) implementation. --- dlls/ieframe/oleobject.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/ieframe/oleobject.c b/dlls/ieframe/oleobject.c index f0b769e9a46..caef72d9c2a 100644 --- a/dlls/ieframe/oleobject.c +++ b/dlls/ieframe/oleobject.c @@ -557,8 +557,8 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag { WebBrowser *This = impl_from_IOleObject(iface); - TRACE("(%p)->(%d %p %p %d %p %p)\n", This, iVerb, lpmsg, pActiveSite, lindex, hwndParent, - lprcPosRect); + TRACE("(%p)->(%d %p %p %d %p %s)\n", This, iVerb, lpmsg, pActiveSite, lindex, hwndParent, + wine_dbgstr_rect(lprcPosRect)); switch (iVerb) { @@ -573,6 +573,8 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag return activate_inplace(This, pActiveSite); case OLEIVERB_HIDE: TRACE("OLEIVERB_HIDE\n"); + if(This->inplace) + IOleInPlaceSite_OnInPlaceDeactivate(This->inplace); if(This->shell_embedding_hwnd) ShowWindow(This->shell_embedding_hwnd, SW_HIDE); return S_OK; -- 2.11.4.GIT