diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-30 20:45:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-30 20:45:10 +0000 |
commit | 23ffd722eb50ed6685229cb2bb83a14ad2fbbc30 (patch) | |
tree | a4cd6e00c53d3be4a30bc150fcb9f96d44a0cfb5 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 52fb75fdfd14a7f384d4fd51b2c3695a3b8de2eb (diff) |
final version of crutch for the buggy Windows7 rtf control
git-svn-id: http://svn.miranda-ng.org/main/trunk@11684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 8f0d33b4f4..3dca5e0c5f 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -330,7 +330,7 @@ static void MsgWindowUpdateState(TWindowData *dat, UINT msg) } dat->pContainer->dwFlags &= ~CNT_NEED_UPDATETITLE; - if (dat->dwFlags & MWF_DEFERREDREMAKELOG) { + if ((dat->dwFlags & MWF_DEFERREDREMAKELOG) && !IsIconic(dat->pContainer->hwnd)) { SendMessage(hwndDlg, DM_REMAKELOG, 0, 0); dat->dwFlags &= ~MWF_DEFERREDREMAKELOG; } @@ -360,8 +360,10 @@ static void MsgWindowUpdateState(TWindowData *dat, UINT msg) dat->Panel->Invalidate(); - if (dat->dwFlags & MWF_DEFERREDSCROLL && dat->hwndIEView == 0 && dat->hwndHPP == 0) - DM_ScrollToBottom(dat, 0, 1); + if (dat->dwFlags & MWF_DEFERREDSCROLL && dat->hwndIEView == 0 && dat->hwndHPP == 0) {
+ dat->dwFlags &= ~MWF_DEFERREDSCROLL;
+ DM_ScrollToBottom(dat, 0, 1);
+ }
DM_SetDBButtonStates(hwndDlg, dat); |