diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-22 19:47:48 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-22 19:47:48 +0300 |
commit | 45eed63e9c7a99c9c88e6a98678c0098a06de27a (patch) | |
tree | ab46a406a0c4e85c0baa721e76ce005f41a2fee5 /plugins/TabSRMM/src/generic_msghandlers.cpp | |
parent | 429859059db4093bf95dbe2695e205025dd7b3a7 (diff) |
nick list moved to mir_app
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 7b1ebaedf1..091e13848b 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -880,9 +880,9 @@ LRESULT CTabBaseDlg::DM_MouseWheelHandler(WPARAM wParam, LPARAM lParam) } if (isChat()) { // scroll nick list by just hovering it RECT rcNicklist; - GetWindowRect(GetDlgItem(m_hwnd, IDC_LIST), &rcNicklist); + GetWindowRect(m_nickList.GetHwnd(), &rcNicklist); if (PtInRect(&rcNicklist, pt)) { - SendDlgItemMessage(m_hwnd, IDC_LIST, WM_MOUSEWHEEL, wParam, lParam); + m_nickList.SendMsg(WM_MOUSEWHEEL, wParam, lParam); return 0; } } @@ -943,7 +943,7 @@ void CTabBaseDlg::DM_ThemeChanged() if (m_hTheme != 0 || (CSkin::m_skinEnabled && !item_log->IGNORED)) { SetWindowLongPtr(m_log.GetHwnd(), GWL_EXSTYLE, GetWindowLongPtr(m_log.GetHwnd(), GWL_EXSTYLE) & ~WS_EX_STATICEDGE); if (isChat()) - SetWindowLongPtr(GetDlgItem(m_hwnd, IDC_LIST), GWL_EXSTYLE, GetWindowLongPtr(GetDlgItem(m_hwnd, IDC_LIST), GWL_EXSTYLE) & ~(WS_EX_CLIENTEDGE | WS_EX_STATICEDGE)); + SetWindowLongPtr(m_nickList.GetHwnd(), GWL_EXSTYLE, GetWindowLongPtr(m_nickList.GetHwnd(), GWL_EXSTYLE) & ~(WS_EX_CLIENTEDGE | WS_EX_STATICEDGE)); } if (m_hTheme != 0 || (CSkin::m_skinEnabled && !item_msg->IGNORED)) |