Jacek Caban : shdocvw: Use GetClientRect, not GetWindowRect in create_doc_view_hwnd.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 12 14:02:32 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 51bd5408d4b411924123bde72bae95fa9b00fa55
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=51bd5408d4b411924123bde72bae95fa9b00fa55

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Apr 12 20:29:01 2006 +0200

shdocvw: Use GetClientRect, not GetWindowRect in create_doc_view_hwnd.

---

 dlls/shdocvw/dochost.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shdocvw/dochost.c b/dlls/shdocvw/dochost.c
index 01f7a88..2a679e7 100644
--- a/dlls/shdocvw/dochost.c
+++ b/dlls/shdocvw/dochost.c
@@ -146,7 +146,7 @@ void create_doc_view_hwnd(WebBrowser *Th
         doc_view_atom = RegisterClassExW(&wndclass);
     }
 
-    GetWindowRect(This->shell_embedding_hwnd, &rect);
+    GetClientRect(This->shell_embedding_hwnd, &rect);
     This->doc_view_hwnd = CreateWindowExW(0, wszShell_DocObject_View,
          wszShell_DocObject_View,
          WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_TABSTOP | WS_MAXIMIZEBOX,




More information about the wine-cvs mailing list