Jacek Caban : mshtml: Return rect relative to parent window in IOleDocumentView::GetRect.
Alexandre Julliard
julliard at winehq.org
Tue May 21 16:45:23 CDT 2019
Module: wine
Branch: master
Commit: d9693be2a5bc8314a0909725c7041ee2f535657c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d9693be2a5bc8314a0909725c7041ee2f535657c
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue May 21 16:36:10 2019 +0200
mshtml: Return rect relative to parent window in IOleDocumentView::GetRect.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mshtml/view.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/view.c b/dlls/mshtml/view.c
index 3b28cfd..26274c7 100644
--- a/dlls/mshtml/view.c
+++ b/dlls/mshtml/view.c
@@ -520,6 +520,7 @@ static HRESULT WINAPI OleDocumentView_GetRect(IOleDocumentView *iface, LPRECT pr
return E_INVALIDARG;
GetClientRect(This->hwnd, prcView);
+ MapWindowPoints(This->hwnd, GetParent(This->hwnd), (POINT*)prcView, 2);
return S_OK;
}
More information about the wine-cvs
mailing list