shdocvw: Use GetClientRect, not GetWindowRect in create_doc_view_hwnd.

oldstable
Jacek Caban 2006-04-12 20:29:01 +02:00 committed by Alexandre Julliard
parent 6d2afbcf7a
commit 51bd5408d4
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ void create_doc_view_hwnd(WebBrowser *This)
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,