From 04c3d89a5cb462302d922888c0e203957229178a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Feb 2015 16:03:47 +0000 Subject: fix for icon selection in tabsrmm git-svn-id: http://svn.miranda-ng.org/main/trunk@12145 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index 9a8b32f15d..2735a51b38 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -1347,6 +1347,11 @@ void TSAPI StreamInEvents(HWND hwndDlg, MEVENT hDbEventFirst, int count, int fAp ReplaceIcons(hwndDlg, dat, startAt, fAppend, isSent); dat->clr_added = FALSE; + if (dat->hwndIEView == NULL && dat->hwndHPP == NULL) { + int len = GetWindowTextLength(hwndrtf); + SendMessage(hwndrtf, EM_SETSEL, len - 1, len - 1); + } + DM_ScrollToBottom(dat, 0, 0); SendMessage(hwndrtf, WM_SETREDRAW, TRUE, 0); -- cgit v1.2.3