From c5d063641ee1d9e0a4ca9872fbc4d1578731d9a6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 29 Dec 2014 09:26:02 +0000 Subject: unused DM_FORCESCROLL removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/taskbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/taskbar.cpp') diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp index b594845180..e6141f0937 100644 --- a/plugins/TabSRMM/src/taskbar.cpp +++ b/plugins/TabSRMM/src/taskbar.cpp @@ -224,7 +224,7 @@ void CProxyWindow::verify(TWindowData *dat) * and previews for a message session. * each tab has one invisible proxy window */ -CProxyWindow::CProxyWindow(const TWindowData *dat) +CProxyWindow::CProxyWindow(TWindowData *dat) { m_dat = dat; m_hBigIcon = 0; @@ -340,7 +340,7 @@ void CProxyWindow::sendPreview() ::SendMessage(m_dat->pContainer->hwnd, DM_QUERYCLIENTAREA, 0, (LPARAM)&rcClient); ::MoveWindow(m_dat->hwnd, rcClient.left, rcClient.top, (rcClient.right - rcClient.left), (rcClient.bottom - rcClient.top), FALSE); ::SendMessage(m_dat->hwnd, WM_SIZE, 0, 0); - ::SendMessage(m_dat->hwnd, DM_FORCESCROLL, 0, 0); + DM_ScrollToBottom(m_dat, 0, 1); } /* * a minimized container has a null rect as client area, so do not use it -- cgit v1.2.3