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
9b2e7710
Commit
9b2e7710
authored
May 25, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
May 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Make Wine behave like IE 7.
parent
28888b45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
task.c
dlls/mshtml/task.c
+24
-0
No files found.
dlls/mshtml/task.c
View file @
9b2e7710
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "winuser.h"
#include "ole2.h"
#include "ole2.h"
#include "mshtmcid.h"
#include "mshtmcid.h"
#include "shlguid.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -196,6 +197,27 @@ static void set_downloading(HTMLDocument *doc)
...
@@ -196,6 +197,27 @@ static void set_downloading(HTMLDocument *doc)
}
}
}
}
/* Calls undocumented 69 cmd of CGID_Explorer */
static
void
call_explorer_69
(
HTMLDocument
*
doc
)
{
IOleCommandTarget
*
olecmd
;
VARIANT
var
;
HRESULT
hres
;
if
(
!
doc
->
client
)
return
;
hres
=
IOleClientSite_QueryInterface
(
doc
->
client
,
&
IID_IOleCommandTarget
,
(
void
**
)
&
olecmd
);
if
(
FAILED
(
hres
))
return
;
VariantInit
(
&
var
);
hres
=
IOleCommandTarget_Exec
(
olecmd
,
&
CGID_Explorer
,
69
,
0
,
NULL
,
&
var
);
IOleCommandTarget_Release
(
olecmd
);
if
(
SUCCEEDED
(
hres
)
&&
V_VT
(
&
var
)
!=
VT_NULL
)
FIXME
(
"handle result
\n
"
);
}
static
void
set_parsecomplete
(
HTMLDocument
*
doc
)
static
void
set_parsecomplete
(
HTMLDocument
*
doc
)
{
{
IOleCommandTarget
*
olecmd
=
NULL
;
IOleCommandTarget
*
olecmd
=
NULL
;
...
@@ -205,7 +227,9 @@ static void set_parsecomplete(HTMLDocument *doc)
...
@@ -205,7 +227,9 @@ static void set_parsecomplete(HTMLDocument *doc)
if
(
doc
->
usermode
==
EDITMODE
)
if
(
doc
->
usermode
==
EDITMODE
)
init_editor
(
doc
);
init_editor
(
doc
);
call_explorer_69
(
doc
);
call_property_onchanged
(
&
doc
->
cp_propnotif
,
1005
);
call_property_onchanged
(
&
doc
->
cp_propnotif
,
1005
);
call_explorer_69
(
doc
);
doc
->
readystate
=
READYSTATE_INTERACTIVE
;
doc
->
readystate
=
READYSTATE_INTERACTIVE
;
call_property_onchanged
(
&
doc
->
cp_propnotif
,
DISPID_READYSTATE
);
call_property_onchanged
(
&
doc
->
cp_propnotif
,
DISPID_READYSTATE
);
...
...
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