Jacek Caban wrote:
static HRESULT WINAPI WebBrowser_put_Visible(IWebBrowser2 *iface, VARIANT_BOOL
Value)
{
WebBrowser *This = WEBBROWSER_THIS(iface);
- FIXME("(%p)->(%x)\n", This, Value);
- return E_NOTIMPL;
+ VARIANTARG arg;
+ DISPPARAMS dispparams = {&arg, NULL, 1, 0};
+
+ TRACE("(%p)->(%x)\n", This, Value);
+
+ This->visible = Value;
+
+ V_VT(&arg) = VT_BOOL;
+ V_BOOL(&arg) = Value;
+ call_sink(This->doc_host.cp_wbe2, DISPID_ONVISIBLE, &dispparams);
+
+ return S_OK;
You don't actually show or hide the window, so it would be good to keep
the FIXME there.
--
Rob Shearman