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
e4ad9dfd
Commit
e4ad9dfd
authored
Apr 29, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added WebBrowser::[get|put]_ToolBar implementation.
parent
39f14989
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
shdocvw.h
dlls/shdocvw/shdocvw.h
+1
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+18
-4
No files found.
dlls/shdocvw/shdocvw.h
View file @
e4ad9dfd
...
...
@@ -119,6 +119,7 @@ typedef struct {
VARIANT_BOOL
menu_bar
;
VARIANT_BOOL
address_bar
;
VARIANT_BOOL
status_bar
;
VARIANT_BOOL
tool_bar
;
DocHost
doc_host
;
}
WebBrowser
;
...
...
dlls/shdocvw/webbrowser.c
View file @
e4ad9dfd
...
...
@@ -558,15 +558,28 @@ static HRESULT WINAPI WebBrowser_put_StatusText(IWebBrowser2 *iface, BSTR Status
static
HRESULT
WINAPI
WebBrowser_get_ToolBar
(
IWebBrowser2
*
iface
,
int
*
Value
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
Value
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
Value
);
*
Value
=
This
->
tool_bar
;
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_put_ToolBar
(
IWebBrowser2
*
iface
,
int
Value
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
Value
);
return
E_NOTIMPL
;
VARIANTARG
arg
;
DISPPARAMS
dispparams
=
{
&
arg
,
NULL
,
1
,
0
};
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
Value
);
This
->
tool_bar
=
Value
?
VARIANT_TRUE
:
VARIANT_FALSE
;
V_VT
(
&
arg
)
=
VT_BOOL
;
V_BOOL
(
&
arg
)
=
Value
;
call_sink
(
This
->
doc_host
.
cp_wbe2
,
DISPID_ONTOOLBAR
,
&
dispparams
);
return
S_OK
;
}
static
HRESULT
WINAPI
WebBrowser_get_MenuBar
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
Value
)
...
...
@@ -902,6 +915,7 @@ HRESULT WebBrowser_Create(IUnknown *pOuter, REFIID riid, void **ppv)
ret
->
menu_bar
=
VARIANT_TRUE
;
ret
->
address_bar
=
VARIANT_TRUE
;
ret
->
status_bar
=
VARIANT_TRUE
;
ret
->
tool_bar
=
VARIANT_TRUE
;
WebBrowser_OleObject_Init
(
ret
);
WebBrowser_ViewObject_Init
(
ret
);
...
...
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