summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/DialogConfigActive.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-26 18:39:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-26 18:39:48 +0000
commit3f00912895ae0820b4db9ae7081f5ffcba1b074c (patch)
treed9524551ee0fa19ffb93e7035de334962900dd40 /plugins/WinterSpeak/src/DialogConfigActive.cpp
parent535d64f23c465e90f0743108b247563dc2387af7 (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/WinterSpeak/src/DialogConfigActive.cpp')
-rw-r--r--plugins/WinterSpeak/src/DialogConfigActive.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/WinterSpeak/src/DialogConfigActive.cpp b/plugins/WinterSpeak/src/DialogConfigActive.cpp
index 471b0a944b..8ed0c17b20 100644
--- a/plugins/WinterSpeak/src/DialogConfigActive.cpp
+++ b/plugins/WinterSpeak/src/DialogConfigActive.cpp
@@ -102,7 +102,6 @@ void DialogConfigActive::notify(HWND hwndDlg, LPARAM lParam) {
SetListGroupIcons( GetDlgItem(hwndDlg, IDC_ACTIVE_USERS), (HANDLE)SendDlgItemMessage(hwndDlg, IDC_ACTIVE_USERS, CLM_GETNEXTITEM, CLGN_ROOT, 0), hItemAll, NULL);
break;
case CLN_OPTIONSCHANGED:
-
ResetListOptions( GetDlgItem(hwndDlg, IDC_ACTIVE_USERS));
break;
case CLN_CHECKCHANGED:
@@ -268,16 +267,7 @@ void DialogConfigActive::SetAllContactIcons(HWND hwndList, HWND window) {
}
void DialogConfigActive::ResetListOptions(HWND listview) {
- SendMessage(listview, CLM_SETBKBITMAP, 0, (LPARAM)(HBITMAP)NULL);
- SendMessage(listview, CLM_SETBKCOLOR, GetSysColor(COLOR_WINDOW), 0);
- SendMessage(listview, CLM_SETGREYOUTFLAGS, 0, 0);
- SendMessage(listview, CLM_SETLEFTMARGIN, 2, 0);
- SendMessage(listview, CLM_SETINDENT, 10, 0);
SendMessage(listview, CLM_SETHIDEEMPTYGROUPS, 1, 0);
-
- for (int i=0; i <= FONTID_MAX; i++)
- SendMessage(listview, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT));
-
SetWindowLongPtr(listview, GWL_STYLE, GetWindowLongPtr(listview, GWL_STYLE) | CLS_SHOWHIDDEN);
}