Module: wine Branch: master Commit: c7d7744860ac469be9ea5e4af39fef4a66d53a52 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7d7744860ac469be9ea5e4af3...
Author: Piotr Caban piotr@codeweavers.com Date: Wed Oct 24 15:38:04 2012 +0200
ieframe: Handle rebar height changes.
---
dlls/ieframe/iexplore.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c index 5b85205..a72ed34 100644 --- a/dlls/ieframe/iexplore.c +++ b/dlls/ieframe/iexplore.c @@ -551,6 +551,18 @@ static LRESULT iewnd_OnNotify(InternetExplorer *This, WPARAM wparam, LPARAM lpar } }
+ if(hdr->idFrom == IDC_BROWSE_REBAR && hdr->code == RBN_HEIGHTCHANGE) + { + RECT docarea; + + GetClientRect(This->frame_hwnd, &docarea); + adjust_ie_docobj_rect(This->frame_hwnd, &docarea); + + if(This->doc_host->doc_host.hwnd) + SetWindowPos(This->doc_host->doc_host.hwnd, NULL, docarea.left, docarea.top, docarea.right, docarea.bottom, + SWP_NOZORDER | SWP_NOACTIVATE); + } + return 0; }