Commit 1e0f378c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Update pos_rect and clip_rect in SetObjectRects.

parent b81b614d
......@@ -507,6 +507,11 @@ static HRESULT WINAPI OleInPlaceObject_SetObjectRects(IOleInPlaceObject *iface,
TRACE("(%p)->(%p %p)\n", This, lprcPosRect, lprcClipRect);
memcpy(&This->pos_rect, lprcPosRect, sizeof(RECT));
if(lprcClipRect)
memcpy(&This->clip_rect, lprcClipRect, sizeof(RECT));
if(This->shell_embedding_hwnd) {
SetWindowPos(This->shell_embedding_hwnd, NULL,
lprcPosRect->left, lprcPosRect->top,
......
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