diff options
author | George Hazan <ghazan@miranda.im> | 2020-08-12 18:40:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-08-12 18:40:49 +0300 |
commit | 9ceb591dc91da777a17e38cf8af30e503a9402af (patch) | |
tree | da2c7a8db6f3b00d258adc2ce54a1503c1719a19 /plugins/TabSRMM/src/taskbar.cpp | |
parent | d47aa769b30c0c81e0f599b1c5ebee9da10c0d7b (diff) |
tabSRMM: DM_QUERYCLIENTAREA - unused message removed
Diffstat (limited to 'plugins/TabSRMM/src/taskbar.cpp')
-rw-r--r-- | plugins/TabSRMM/src/taskbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp index bdf0479a00..b29530936f 100644 --- a/plugins/TabSRMM/src/taskbar.cpp +++ b/plugins/TabSRMM/src/taskbar.cpp @@ -280,7 +280,7 @@ void CProxyWindow::sendPreview() if (m_dat->m_bNeedCheckSize) {
RECT rcClient;
- ::SendMessage(m_dat->m_pContainer->m_hwnd, DM_QUERYCLIENTAREA, 0, (LPARAM)&rcClient);
+ m_dat->m_pContainer->QueryClientArea(rcClient);
::MoveWindow(m_dat->GetHwnd(), rcClient.left, rcClient.top, (rcClient.right - rcClient.left), (rcClient.bottom - rcClient.top), FALSE);
::SendMessage(m_dat->GetHwnd(), WM_SIZE, 0, 0);
m_dat->DM_ScrollToBottom(0, 1);
|