Jacek Caban : shdocvw: Update pos_rect and clip_rect in
SetObjectRects.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 14 12:46:26 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 1e0f378c307fea7ba8e96a46cc3e32c106ed1f43
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1e0f378c307fea7ba8e96a46cc3e32c106ed1f43
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Apr 14 14:42:47 2006 +0200
shdocvw: Update pos_rect and clip_rect in SetObjectRects.
---
dlls/shdocvw/oleobject.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index 5adb88e..2ab2d8d 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -507,6 +507,11 @@ static HRESULT WINAPI OleInPlaceObject_S
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,
More information about the wine-cvs
mailing list