mshtml: Call Exec(CGID_ShellDocView, 37) in exec_editmode.
This commit is contained in:
parent
78bdd9ba94
commit
5766b55e40
|
@ -546,6 +546,22 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
|
|||
if(This->frame)
|
||||
IOleInPlaceFrame_SetStatusText(This->frame, NULL);
|
||||
|
||||
if(This->client) {
|
||||
IOleCommandTarget *cmdtrg;
|
||||
|
||||
hres = IOleClientSite_QueryInterface(This->client, &IID_IOleCommandTarget,
|
||||
(void**)&cmdtrg);
|
||||
if(SUCCEEDED(hres)) {
|
||||
VARIANT var;
|
||||
|
||||
V_VT(&var) = VT_I4;
|
||||
V_I4(&var) = 0;
|
||||
IOleCommandTarget_Exec(cmdtrg, &CGID_ShellDocView, 37, 0, &var, NULL);
|
||||
|
||||
IOleCommandTarget_Release(cmdtrg);
|
||||
}
|
||||
}
|
||||
|
||||
if(This->hostui) {
|
||||
DOCHOSTUIINFO hostinfo;
|
||||
|
||||
|
|
Loading…
Reference in New Issue