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
9d9b9094
Commit
9d9b9094
authored
Apr 28, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added [get|put]_Visible implementation.
parent
707a4f18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
shdocvw.h
dlls/shdocvw/shdocvw.h
+2
-0
webbrowser.c
dlls/shdocvw/webbrowser.c
+20
-4
No files found.
dlls/shdocvw/shdocvw.h
View file @
9d9b9094
...
@@ -115,6 +115,8 @@ typedef struct {
...
@@ -115,6 +115,8 @@ typedef struct {
HWND
shell_embedding_hwnd
;
HWND
shell_embedding_hwnd
;
VARIANT_BOOL
visible
;
DocHost
doc_host
;
DocHost
doc_host
;
}
WebBrowser
;
}
WebBrowser
;
...
...
dlls/shdocvw/webbrowser.c
View file @
9d9b9094
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include "wine/debug.h"
#include "wine/debug.h"
#include "shdocvw.h"
#include "shdocvw.h"
#include "exdispid.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
...
@@ -486,15 +487,28 @@ static HRESULT WINAPI WebBrowser_get_Path(IWebBrowser2 *iface, BSTR *Path)
...
@@ -486,15 +487,28 @@ static HRESULT WINAPI WebBrowser_get_Path(IWebBrowser2 *iface, BSTR *Path)
static
HRESULT
WINAPI
WebBrowser_get_Visible
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pBool
)
static
HRESULT
WINAPI
WebBrowser_get_Visible
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pBool
)
{
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pBool
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pBool
);
*
pBool
=
This
->
visible
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
WebBrowser_put_Visible
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
Value
)
static
HRESULT
WINAPI
WebBrowser_put_Visible
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
Value
)
{
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
Value
);
VARIANTARG
arg
;
return
E_NOTIMPL
;
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
;
}
}
static
HRESULT
WINAPI
WebBrowser_get_StatusBar
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pBool
)
static
HRESULT
WINAPI
WebBrowser_get_StatusBar
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
pBool
)
...
@@ -842,6 +856,8 @@ HRESULT WebBrowser_Create(IUnknown *pOuter, REFIID riid, void **ppv)
...
@@ -842,6 +856,8 @@ HRESULT WebBrowser_Create(IUnknown *pOuter, REFIID riid, void **ppv)
DocHost_Init
(
&
ret
->
doc_host
,
(
IDispatch
*
)
WEBBROWSER2
(
ret
));
DocHost_Init
(
&
ret
->
doc_host
,
(
IDispatch
*
)
WEBBROWSER2
(
ret
));
ret
->
visible
=
VARIANT_TRUE
;
WebBrowser_OleObject_Init
(
ret
);
WebBrowser_OleObject_Init
(
ret
);
WebBrowser_ViewObject_Init
(
ret
);
WebBrowser_ViewObject_Init
(
ret
);
WebBrowser_Persist_Init
(
ret
);
WebBrowser_Persist_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