Chris Wulff : shdocvw: Implement OLEIVERB_HIDE.

Alexandre Julliard julliard at winehq.org
Wed Oct 31 08:35:34 CDT 2007


Module: wine
Branch: master
Commit: 0a2008ae6722c3184d55968b6bce01df6dc808ce
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a2008ae6722c3184d55968b6bce01df6dc808ce

Author: Chris Wulff <crwulff at rochester.rr.com>
Date:   Tue Oct 30 23:46:36 2007 -0400

shdocvw: Implement OLEIVERB_HIDE.

---

 dlls/shdocvw/oleobject.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index aa1edfe..81ade7b 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -416,6 +416,11 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
     case OLEIVERB_INPLACEACTIVATE:
         TRACE("OLEIVERB_INPLACEACTIVATE\n");
         return activate_inplace(This, pActiveSite);
+    case OLEIVERB_HIDE:
+        TRACE("OLEIVERB_HIDE\n");
+        if(This->doc_host.hwnd)
+            ShowWindow(This->doc_host.hwnd, SW_HIDE);
+        return S_OK;
     default:
         FIXME("stub for %d\n", iVerb);
         break;




More information about the wine-cvs mailing list