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

This commit is contained in:
Jacek Caban 2006-04-08 20:51:37 +02:00 committed by Alexandre Julliard
parent ce2f142bf1
commit 26f6a30f58
1 changed files with 4 additions and 1 deletions

View File

@ -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