diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-27 19:20:16 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-27 19:20:16 +0000 |
commit | 9bad6cb2e2eec6489554baaf3662865e1c9ad073 (patch) | |
tree | 088601f1652f3e434c01d7ff345da3629e511362 /plugins/BuddyPounce/src/dialog.cpp | |
parent | 7b1adba5336a293629cb58835b8dc35bd2d7b3d6 (diff) |
BuddyPounce:
- options&dialog cosmetics
- fully commented unused items (possible for future use)
- options moved to "Message sessions" group
patch from person
git-svn-id: http://svn.miranda-ng.org/main/trunk@4219 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyPounce/src/dialog.cpp')
-rw-r--r-- | plugins/BuddyPounce/src/dialog.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/BuddyPounce/src/dialog.cpp b/plugins/BuddyPounce/src/dialog.cpp index db6f956dac..1f1aae170c 100644 --- a/plugins/BuddyPounce/src/dialog.cpp +++ b/plugins/BuddyPounce/src/dialog.cpp @@ -33,7 +33,7 @@ void populateContacts(HANDLE BPhContact,HWND hwnd2CB) void saveLastSetting(HANDLE hContact, HWND hwnd)
{
- TCHAR number[8], string[1024];
+ TCHAR number[8];//, string[1024];//for sending file name
switch (DBGetContactSettingByte(hContact, modname, "LastSetting", 2)) // nothing to do
{
case 0: // Send If My Status Is...
@@ -60,10 +60,10 @@ void saveLastSetting(HANDLE hContact, HWND hwnd) DBWriteContactSettingByte(hContact, modname, "ConfirmTimeout", (BYTE)_ttoi(number));
break;
- case 7: // send a file
- GetDlgItemText(hwnd, IDC_SETTINGTEXT, string, 1024);
- DBWriteContactSettingTString(hContact, modname, "FileToSend", string);
- break;
+// case 7: // send a file
+// GetDlgItemText(hwnd, IDC_SETTINGTEXT, string, 1024);
+// DBWriteContactSettingTString(hContact, modname, "FileToSend", string);
+// break;
}
}
@@ -71,10 +71,10 @@ void hideAll(HWND hwnd) {
ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG), SW_HIDE);
ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG2), SW_HIDE);
- ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_HIDE);
+// ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_HIDE);
ShowWindow(GetDlgItem(hwnd, IDC_SETTINGNUMBER), SW_HIDE);
ShowWindow(GetDlgItem(hwnd, IDC_SPIN), SW_HIDE);
- ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_HIDE);
+// ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_HIDE);
}
void getDefaultMessage(HWND hwnd, UINT control, HANDLE hContact)
@@ -406,12 +406,12 @@ INT_PTR CALLBACK BuddyPounceDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l ShowWindow(GetDlgItem(hwnd, IDC_SPIN), SW_SHOW);
break;
- case 7: // send a file
- ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG), SW_SHOW);
- SetDlgItemText(hwnd, IDC_SETTINGMSG, TranslateT("Send a file"));
- ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_SHOW);
- ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_SHOW);
- break;
+// case 7: // send a file
+// ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG), SW_SHOW);
+// SetDlgItemText(hwnd, IDC_SETTINGMSG, TranslateT("Send a file"));
+// ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_SHOW);
+// ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_SHOW);
+// break;
}
DBWriteContactSettingByte(wi->hContact, modname, "LastSetting", (BYTE)item);
}
@@ -542,12 +542,12 @@ INT_PTR CALLBACK BuddyPounceOptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, L ShowWindow(GetDlgItem(hwnd, IDC_SPIN), SW_SHOW);
break;
- case 7: // send a file
- ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG), SW_SHOW);
- SetDlgItemText(hwnd, IDC_SETTINGMSG, TranslateT("Send a file"));
- ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_SHOW);
- ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_SHOW);
- break;
+// case 7: // send a file
+// ShowWindow(GetDlgItem(hwnd, IDC_SETTINGMSG), SW_SHOW);
+// SetDlgItemText(hwnd, IDC_SETTINGMSG, TranslateT("Send a file"));
+// ShowWindow(GetDlgItem(hwnd, IDC_BUTTON), SW_SHOW);
+// ShowWindow(GetDlgItem(hwnd, IDC_SETTINGTEXT), SW_SHOW);
+// break;
}
DBWriteContactSettingByte(wi->hContact, modname, "LastSetting", (BYTE)item);
}
|