diff options
Diffstat (limited to 'ping/options.cpp')
-rw-r--r-- | ping/options.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ping/options.cpp b/ping/options.cpp index 621825b..56e2d69 100644 --- a/ping/options.cpp +++ b/ping/options.cpp @@ -39,8 +39,6 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l SetDlgItemInt(hwndDlg, IDC_RPT, options.retries, FALSE);
- SendDlgItemMessage(hwndDlg, IDC_BGCOL, CPM_SETCOLOUR, 0, options.bg_colour);
-
SetDlgItemText(hwndDlg, IDC_ED_FILENAME, options.log_filename);
if(!options.logging) {
hw = GetDlgItem(hwndDlg, IDC_ED_FILENAME);
@@ -62,10 +60,6 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l return TRUE;
}
case WM_COMMAND:
- if(LOWORD(wParam) == IDC_BGCOL) {
- SendMessage( GetParent( hwndDlg ), PSM_CHANGED, 0, 0 );
- break;
- }
if ( HIWORD( wParam ) == EN_CHANGE && ( HWND )lParam == GetFocus()) {
switch( LOWORD( wParam )) {
case IDC_PPM:
@@ -155,7 +149,6 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l options.indent = SendMessage(GetDlgItem(hwndDlg, IDC_SP_INDENT), UDM_GETPOS, 0, 0);
options.row_height = SendMessage(GetDlgItem(hwndDlg, IDC_SP_ROWHEIGHT), UDM_GETPOS, 0, 0);
- options.bg_colour = SendDlgItemMessage(hwndDlg, IDC_BGCOL, CPM_GETCOLOUR, 0, 0);
DWORD new_retries = GetDlgItemInt( hwndDlg, IDC_RPT, &trans_success, FALSE);
if(trans_success) {
@@ -593,7 +586,6 @@ void LoadOptions() { options.indent = DBGetContactSettingWord(NULL, PLUG, "Indent", 0);
options.row_height = DBGetContactSettingWord(NULL, PLUG, "RowHeight", GetSystemMetrics(SM_CYSMICON));
- options.bg_colour = (COLORREF)DBGetContactSettingDword(NULL, PLUG, "BgColor", GetSysColor(COLOR_3DFACE));
options.retries = DBGetContactSettingDword(NULL, PLUG, "Retries", 0);
@@ -618,7 +610,6 @@ void SaveOptions() { DBWriteContactSettingWord(NULL, PLUG, "Indent", options.indent);
DBWriteContactSettingWord(NULL, PLUG, "RowHeight", options.row_height);
- DBWriteContactSettingDword(NULL, PLUG, "BgColor", (DWORD)options.bg_colour);
DBWriteContactSettingDword(NULL, PLUG, "Retries", (DWORD)options.retries);
|