shdocvw: Set active document of both frame and doc window.
This commit is contained in:
parent
ce2f142bf1
commit
26f6a30f58
|
@ -298,7 +298,10 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
|
|||
IOleInPlaceSite_OnUIActivate(inplace);
|
||||
IOleInPlaceSite_Release(inplace);
|
||||
|
||||
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
|
||||
if(This->frame)
|
||||
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
|
||||
if(This->uiwindow)
|
||||
IOleInPlaceUIWindow_SetActiveObject(This->uiwindow, ACTIVEOBJ(This), wszitem);
|
||||
|
||||
/* TODO:
|
||||
* IOleInPlaceFrmae_SetMenu
|
||||
|
|
Loading…
Reference in New Issue