Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
84eed025
Commit
84eed025
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 StatusTextChange in set_status_text.
parent
6f3ffa51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
navigate.c
dlls/shdocvw/navigate.c
+11
-2
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+4
-2
No files found.
dlls/shdocvw/navigate.c
View file @
84eed025
...
...
@@ -94,10 +94,19 @@ static void dump_BINDINFO(BINDINFO *bi)
static
void
set_status_text
(
BindStatusCallback
*
This
,
LPCWSTR
str
)
{
if
(
!
This
->
doc_host
||
!
This
->
doc_host
->
frame
)
VARIANTARG
arg
;
DISPPARAMS
dispparams
=
{
&
arg
,
NULL
,
1
,
0
};
if
(
!
This
->
doc_host
)
return
;
IOleInPlaceFrame_SetStatusText
(
This
->
doc_host
->
frame
,
str
);
V_VT
(
&
arg
)
=
VT_BSTR
;
V_BSTR
(
&
arg
)
=
str
?
SysAllocString
(
str
)
:
NULL
;
call_sink
(
This
->
doc_host
->
cps
.
wbe2
,
DISPID_STATUSTEXTCHANGE
,
&
dispparams
);
VariantClear
(
&
arg
);
if
(
This
->
doc_host
->
frame
)
IOleInPlaceFrame_SetStatusText
(
This
->
doc_host
->
frame
,
str
);
}
#define BINDSC_THIS(iface) DEFINE_THIS(BindStatusCallback, BindStatusCallback, iface)
...
...
dlls/shdocvw/tests/webbrowser.c
View file @
84eed025
...
...
@@ -513,7 +513,9 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe
ok
(
pDispParams
->
rgvarg
!=
NULL
,
"rgvarg == NULL
\n
"
);
ok
(
pDispParams
->
cArgs
==
1
,
"cArgs=%d, expected 1
\n
"
,
pDispParams
->
cArgs
);
/* TODO: Check args */
ok
(
V_VT
(
pDispParams
->
rgvarg
)
==
VT_BSTR
,
"V_VT(pDispParams->rgvarg)=%d, expected VT_BSTR
\n
"
,
V_VT
(
pDispParams
->
rgvarg
));
/* TODO: Check text */
break
;
case
DISPID_PROPERTYCHANGE
:
...
...
@@ -1878,7 +1880,7 @@ static void test_Navigate2(IUnknown *unk)
todo_wine
CHECK_CALLED
(
Invoke_DOWNLOADBEGIN
);
todo_wine
CHECK_CALLED
(
Exec_SETDOWNLOADSTATE_1
);
CHECK_CALLED
(
EnableModeless_FALSE
);
todo_wine
CHECK_CALLED
(
Invoke_STATUSTEXTCHANGE
);
CHECK_CALLED
(
Invoke_STATUSTEXTCHANGE
);
CHECK_CALLED
(
SetStatusText
);
CHECK_CALLED
(
GetHostInfo
);
CHECK_CALLED
(
Invoke_AMBIENT_DLCONTROL
);
...
...
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