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/HistorySweeperLight/src | |
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/HistorySweeperLight/src')
-rw-r--r-- | plugins/HistorySweeperLight/src/options.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/HistorySweeperLight/src/options.cpp b/plugins/HistorySweeperLight/src/options.cpp index 0877d70d48..3c93437366 100644 --- a/plugins/HistorySweeperLight/src/options.cpp +++ b/plugins/HistorySweeperLight/src/options.cpp @@ -86,20 +86,6 @@ void ReleaseIconEx(const char* name) HANDLE hAllContacts, hSystemHistory;
-void ResetListOptions(HWND hwndList)
-{
- int i;
-
- SendMessage(hwndList, CLM_SETBKBITMAP, 0, 0);
- SendMessage(hwndList, CLM_SETBKCOLOR, GetSysColor(COLOR_WINDOW), 0);
- SendMessage(hwndList, CLM_SETGREYOUTFLAGS, 0, 0);
- SendMessage(hwndList, CLM_SETLEFTMARGIN, 4, 0);
- SendMessage(hwndList, CLM_SETINDENT, 10, 0);
-
- for (i=0; i<=FONTID_MAX; i++)
- SendMessage(hwndList, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT));
-}
-
static void ShowAllContactIcons(HWND hwndList)
{
SendMessage(hwndList, CLM_SETEXTRAIMAGE, (WPARAM)hAllContacts,
@@ -235,7 +221,6 @@ INT_PTR CALLBACK DlgProcHSOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa SendDlgItemMessage(hwndDlg, IDC_LIST, CLM_SETEXTRACOLUMNS, 1, 0);
TranslateDialogDefault(hwndDlg);
- ResetListOptions(GetDlgItem(hwndDlg, IDC_LIST));
LoadSettings(hwndDlg);
}
return TRUE;
@@ -270,10 +255,6 @@ INT_PTR CALLBACK DlgProcHSOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa ShowAllContactIcons(nmc->hdr.hwndFrom);
break;
- case CLN_OPTIONSCHANGED:
- ResetListOptions(nmc->hdr.hwndFrom);
- break;
-
case NM_CLICK:
{
HANDLE hItem; DWORD hitFlags; int iImage;
|