shdocvw: Call EnableModeless and SetStatusText in navigate.
This commit is contained in:
parent
dc15020cf5
commit
a01a20c090
|
@ -450,13 +450,19 @@ static HRESULT navigate(DocHost *This, IMoniker *mon, IBindCtx *bindctx)
|
||||||
if(FAILED(hres))
|
if(FAILED(hres))
|
||||||
return hres;
|
return hres;
|
||||||
|
|
||||||
if(FAILED(hres)) {
|
if(This->frame)
|
||||||
IPersistMoniker_Release(persist);
|
IOleInPlaceFrame_EnableModeless(This->frame, FALSE); /* FIXME */
|
||||||
return hres;
|
|
||||||
}
|
|
||||||
|
|
||||||
hres = IPersistMoniker_Load(persist, FALSE, mon, bindctx, 0);
|
hres = IPersistMoniker_Load(persist, FALSE, mon, bindctx, 0);
|
||||||
IPersistMoniker_Release(persist);
|
IPersistMoniker_Release(persist);
|
||||||
|
|
||||||
|
if(This->frame) {
|
||||||
|
static const WCHAR empty[] = {0};
|
||||||
|
|
||||||
|
IOleInPlaceFrame_SetStatusText(This->frame, empty); /* FIXME */
|
||||||
|
IOleInPlaceFrame_EnableModeless(This->frame, TRUE); /* FIXME */
|
||||||
|
}
|
||||||
|
|
||||||
if(FAILED(hres)) {
|
if(FAILED(hres)) {
|
||||||
WARN("Load failed: %08x\n", hres);
|
WARN("Load failed: %08x\n", hres);
|
||||||
return hres;
|
return hres;
|
||||||
|
|
Loading…
Reference in New Issue