shdocvw: Update pos_rect and clip_rect in SetObjectRects.

This commit is contained in:
Jacek Caban 2006-04-14 14:42:47 +02:00 committed by Alexandre Julliard
parent b81b614da8
commit 1e0f378c30
1 changed files with 5 additions and 0 deletions

View File

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