diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-31 05:07:21 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-31 05:07:21 +0000 |
commit | 0ff1d601dfadfd19e286c021fd1288e8b8b4b7c2 (patch) | |
tree | aafe89e4f6870ad528f00e081d31432cdfbb8d32 /ping/options.cpp | |
parent | 87a314a0f8b3aa138601963c0e98d339997b9d6e (diff) |
use yapp api for popup classes
use fontservice for fame background colour
add beta changelog url link to svn log
use IPHLPAPI.dll if available, and use only one icmp file handle
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@316 4f64403b-2f21-0410-a795-97e2b3489a10
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);
|