diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-26 18:39:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-26 18:39:48 +0000 |
commit | 3f00912895ae0820b4db9ae7081f5ffcba1b074c (patch) | |
tree | d9524551ee0fa19ffb93e7035de334962900dd40 /plugins/TabSRMM | |
parent | 535d64f23c465e90f0743108b247563dc2387af7 (diff) |
stupid duplicated code of embedded clists removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 8 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 290f68af5a..43b46f8818 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1726,14 +1726,6 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP }
switch (((NMHDR*)lParam)->idFrom) {
- case IDC_CLIST:
- switch (((NMHDR*)lParam)->code) {
- case CLN_OPTIONSCHANGED:
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETGREYOUTFLAGS, 0, 0);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETLEFTMARGIN, 2, 0);
- }
- break;
-
case IDC_LOG:
case IDC_MESSAGE:
switch (((NMHDR*)lParam)->code) {
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index a7ac5fad7b..fed530290a 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -806,13 +806,6 @@ static void ResetCList(HWND hwndDlg) else
SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, TRUE, 0);
SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETHIDEEMPTYGROUPS, 1, 0);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETGREYOUTFLAGS, 0, 0);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETLEFTMARGIN, 2, 0);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETBKBITMAP, 0, (LPARAM)(HBITMAP)NULL);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETBKCOLOR, GetSysColor(COLOR_WINDOW), 0);
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETINDENT, 10, 0);
- for (int i = 0; i <= FONTID_MAX; i++)
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT));
}
static void RebuildList(HWND hwndDlg, HANDLE hItemNew, HANDLE hItemUnknown)
|