Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
75eb61cd
Commit
75eb61cd
authored
Sep 23, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added WebBrowser::Resizable property implementation.
parent
2fe9af55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+17
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+9
-3
No files found.
dlls/shdocvw/tests/webbrowser.c
View file @
75eb61cd
...
...
@@ -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
);
}
...
...
dlls/shdocvw/webbrowser.c
View file @
75eb61cd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment