summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-04 19:39:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-04 19:39:17 +0300
commitae5912910a16d90b61b36b85cf9ca39fc1097bf2 (patch)
tree442c6499193d3b7559ac4c7f77a02511e28454ce /protocols
parent0d07cce06e61f8dd54cda14d1f6ffb3aa9660ed8 (diff)
this shitty code is still needed...
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_iqid_muc.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_iqid_muc.cpp b/protocols/JabberG/src/jabber_iqid_muc.cpp
index 68575706fc..2d1e62c747 100644
--- a/protocols/JabberG/src/jabber_iqid_muc.cpp
+++ b/protocols/JabberG/src/jabber_iqid_muc.cpp
@@ -238,6 +238,18 @@ public:
Utils_SaveWindowPosition(m_hwnd, 0, m_proto->m_szModuleName, "jidListWnd_");
}
+ INT_PTR DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) override
+ {
+ INT_PTR ret = CSuper::DlgProc(uMsg, wParam, lParam);
+ if (uMsg == WM_SIZE) {
+ RECT rc;
+ GetClientRect(m_list.GetHeader(), &rc);
+ m_list.SetColumnWidth(0, rc.right - rc.left);
+ }
+
+ return ret;
+ }
+
int Resizer(UTILRESIZECONTROL *urc) override
{
switch (urc->wId) {