shdocvw: Update pos_rect and clip_rect in SetObjectRects.
This commit is contained in:
parent
b81b614da8
commit
1e0f378c30
|
@ -507,6 +507,11 @@ static HRESULT WINAPI OleInPlaceObject_SetObjectRects(IOleInPlaceObject *iface,
|
||||||
|
|
||||||
TRACE("(%p)->(%p %p)\n", This, lprcPosRect, lprcClipRect);
|
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) {
|
if(This->shell_embedding_hwnd) {
|
||||||
SetWindowPos(This->shell_embedding_hwnd, NULL,
|
SetWindowPos(This->shell_embedding_hwnd, NULL,
|
||||||
lprcPosRect->left, lprcPosRect->top,
|
lprcPosRect->left, lprcPosRect->top,
|
||||||
|
|
Loading…
Reference in New Issue