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
6f3ffa51
Commit
6f3ffa51
authored
Jan 14, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Call WindowSetResizable in put_Resizable.
parent
7b268a55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+2
-2
webbrowser.c
dlls/shdocvw/webbrowser.c
+9
-1
No files found.
dlls/shdocvw/tests/webbrowser.c
View file @
6f3ffa51
...
...
@@ -1562,12 +1562,12 @@ static void test_ie_funcs(IUnknown *unk)
SET_EXPECT
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_put_Resizable
(
wb
,
(
exvb
=
VARIANT_TRUE
));
ok
(
hres
==
S_OK
,
"put_Resizable failed: %08x
\n
"
,
hres
);
todo_wine
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
SET_EXPECT
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_put_Resizable
(
wb
,
(
exvb
=
VARIANT_FALSE
));
ok
(
hres
==
S_OK
,
"put_Resizable failed: %08x
\n
"
,
hres
);
todo_wine
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_get_Resizable
(
wb
,
&
b
);
ok
(
hres
==
E_NOTIMPL
,
"get_Resizable failed: %08x
\n
"
,
hres
);
...
...
dlls/shdocvw/webbrowser.c
View file @
6f3ffa51
...
...
@@ -864,10 +864,18 @@ static HRESULT WINAPI WebBrowser_get_Resizable(IWebBrowser2 *iface, VARIANT_BOOL
static
HRESULT
WINAPI
WebBrowser_put_Resizable
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
Value
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
VARIANTARG
arg
;
DISPPARAMS
dispparams
=
{
&
arg
,
NULL
,
1
,
0
};
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
Value
);
/* It's InternetExplorer object's method. We have nothing to do here. */
/* In opposition to InternetExplorer, all we should do here is
* inform the embedder about the resizable change. */
V_VT
(
&
arg
)
=
VT_BOOL
;
V_BOOL
(
&
arg
)
=
Value
;
call_sink
(
This
->
doc_host
.
cps
.
wbe2
,
DISPID_WINDOWSETRESIZABLE
,
&
dispparams
);
return
S_OK
;
}
...
...
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