shdocvw: Call SetMenu in activate_ui.
This commit is contained in:
parent
081d50d297
commit
d76ed6f693
|
@ -171,9 +171,8 @@ static HRESULT activate_ui(WebBrowser *This, IOleClientSite *active_site, HWND p
|
||||||
if(This->uiwindow)
|
if(This->uiwindow)
|
||||||
IOleInPlaceUIWindow_SetActiveObject(This->uiwindow, ACTIVEOBJ(This), wszitem);
|
IOleInPlaceUIWindow_SetActiveObject(This->uiwindow, ACTIVEOBJ(This), wszitem);
|
||||||
|
|
||||||
/* TODO:
|
if(This->frame)
|
||||||
* IOleInPlaceFrmae_SetMenu
|
IOleInPlaceFrame_SetMenu(This->frame, NULL, NULL, This->shell_embedding_hwnd);
|
||||||
*/
|
|
||||||
|
|
||||||
SetFocus(This->shell_embedding_hwnd);
|
SetFocus(This->shell_embedding_hwnd);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue