Commit 26f6a30f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Set active document of both frame and doc window.

parent ce2f142b
...@@ -298,7 +298,10 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag ...@@ -298,7 +298,10 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
IOleInPlaceSite_OnUIActivate(inplace); IOleInPlaceSite_OnUIActivate(inplace);
IOleInPlaceSite_Release(inplace); IOleInPlaceSite_Release(inplace);
if(This->frame)
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem); IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
if(This->uiwindow)
IOleInPlaceUIWindow_SetActiveObject(This->uiwindow, ACTIVEOBJ(This), wszitem);
/* TODO: /* TODO:
* IOleInPlaceFrmae_SetMenu * IOleInPlaceFrmae_SetMenu
......
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