diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-06-14 17:31:23 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-06-14 17:31:23 +0000 |
commit | 469640071ddd9581b45f70f3dc2b9c4c2cc31199 (patch) | |
tree | 3a5356d0471bbd160e7e37aaf20f3ab376cb902d /plugins/TabSRMM/src/chat | |
parent | c3a49bd95dce1276b4b02e0c236146f2184e31cc (diff) |
MS_MSG_SETSTATUSTEXT improvements
- clear statusbar by using NULL as lParam
- TabSRMM: remember custom statusbar text when switching between tabs
git-svn-id: http://svn.miranda-ng.org/main/trunk@9481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r-- | plugins/TabSRMM/src/chat/window.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index e509d05ed1..6b3ea4b366 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -1873,6 +1873,7 @@ INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar si->iSplitterY = GetDefaultMinimumInputHeight(dat); #endif dat->pWnd = 0; + dat->sbCustom = 0; CProxyWindow::add(dat); dat->fInsertMode = FALSE; @@ -3645,6 +3646,11 @@ LABEL_SHOWWINDOW: delete dat->pWnd; dat->pWnd = 0; } + if (dat->sbCustom) { + delete dat->sbCustom; + dat->sbCustom = 0; + } + //MAD M.RemoveWindow(hwndDlg); |