Commit 75eb61cd authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Added WebBrowser::Resizable property implementation.

parent 2fe9af55
......@@ -1117,6 +1117,23 @@ static void test_ie_funcs(IUnknown *unk)
hres = IWebBrowser2_put_FullScreen(wb, VARIANT_FALSE);
ok(hres == S_OK, "put_FullScreen failed: %08x\n", hres);
/* Resizable */
b = 0x100;
hres = IWebBrowser2_get_Resizable(wb, &b);
ok(hres == E_NOTIMPL, "get_Resizable failed: %08x\n", hres);
ok(b == 0x100, "b=%x\n", b);
hres = IWebBrowser2_put_Resizable(wb, VARIANT_TRUE);
ok(hres == S_OK, "put_Resizable failed: %08x\n", hres);
hres = IWebBrowser2_put_Resizable(wb, VARIANT_FALSE);
ok(hres == S_OK, "put_Resizable failed: %08x\n", hres);
hres = IWebBrowser2_get_Resizable(wb, &b);
ok(hres == E_NOTIMPL, "get_Resizable failed: %08x\n", hres);
ok(b == 0x100, "b=%x\n", b);
IWebBrowser2_Release(wb);
}
......
......@@ -825,15 +825,21 @@ static HRESULT WINAPI WebBrowser_put_AddressBar(IWebBrowser2 *iface, VARIANT_BOO
static HRESULT WINAPI WebBrowser_get_Resizable(IWebBrowser2 *iface, VARIANT_BOOL *Value)
{
WebBrowser *This = WEBBROWSER_THIS(iface);
FIXME("(%p)->(%p)\n", This, Value);
TRACE("(%p)->(%p)\n", This, Value);
/* It's InternetExplorer object's method. We have nothing to do here. */
return E_NOTIMPL;
}
static HRESULT WINAPI WebBrowser_put_Resizable(IWebBrowser2 *iface, VARIANT_BOOL Value)
{
WebBrowser *This = WEBBROWSER_THIS(iface);
FIXME("(%p)->(%x)\n", This, Value);
return E_NOTIMPL;
TRACE("(%p)->(%x)\n", This, Value);
/* It's InternetExplorer object's method. We have nothing to do here. */
return S_OK;
}
#undef WEBBROWSER_THIS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment