Commit 5766b55e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Call Exec(CGID_ShellDocView, 37) in exec_editmode.

parent 78bdd9ba
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment