Commit d9693be2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Return rect relative to parent window in IOleDocumentView::GetRect.

parent 82bf2556
...@@ -520,6 +520,7 @@ static HRESULT WINAPI OleDocumentView_GetRect(IOleDocumentView *iface, LPRECT pr ...@@ -520,6 +520,7 @@ static HRESULT WINAPI OleDocumentView_GetRect(IOleDocumentView *iface, LPRECT pr
return E_INVALIDARG; return E_INVALIDARG;
GetClientRect(This->hwnd, prcView); GetClientRect(This->hwnd, prcView);
MapWindowPoints(This->hwnd, GetParent(This->hwnd), (POINT*)prcView, 2);
return S_OK; return S_OK;
} }
......
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