Jacek Caban : shdocvw: Added InternetExplorer::put_Visible implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 20 04:39:56 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: c51aefdb580d13334b97e68800a0fe5978191875
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c51aefdb580d13334b97e68800a0fe5978191875

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Apr 19 20:36:32 2006 +0200

shdocvw: Added InternetExplorer::put_Visible implementation.

---

 dlls/shdocvw/ie.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/shdocvw/ie.c b/dlls/shdocvw/ie.c
index 4019f8a..e3771ca 100644
--- a/dlls/shdocvw/ie.c
+++ b/dlls/shdocvw/ie.c
@@ -358,8 +358,11 @@ static HRESULT WINAPI InternetExplorer_g
 static HRESULT WINAPI InternetExplorer_put_Visible(IWebBrowser2 *iface, VARIANT_BOOL Value)
 {
     InternetExplorer *This = WEBBROWSER_THIS(iface);
-    FIXME("(%p)->(%x)\n", This, Value);
-    return E_NOTIMPL;
+    TRACE("(%p)->(%x)\n", This, Value);
+
+    ShowWindow(This->frame_hwnd, Value ? SW_SHOW : SW_HIDE);
+
+    return S_OK;
 }
 
 static HRESULT WINAPI InternetExplorer_get_StatusBar(IWebBrowser2 *iface, VARIANT_BOOL *pBool)




More information about the wine-cvs mailing list