diff options
Diffstat (limited to 'plugins/BuddyPounce/src')
-rw-r--r-- | plugins/BuddyPounce/src/dialog.cpp | 38 | ||||
-rw-r--r-- | plugins/BuddyPounce/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/BuddyPounce/src/resource.h | 4 |
3 files changed, 22 insertions, 22 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);
}
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index 111dbbc5d4..9e60608d2d 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -106,7 +106,7 @@ int BuddyPounceOptInit(WPARAM wParam, LPARAM lParam) odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
- odp.ptszGroup = LPGENT("Plugins");
+ odp.ptszGroup = LPGENT("Message Sessions");
odp.ptszTitle = LPGENT("Buddy Pounce");
odp.pfnDlgProc = BuddyPounceOptionsDlgProc;
Options_AddPage(wParam, &odp);
diff --git a/plugins/BuddyPounce/src/resource.h b/plugins/BuddyPounce/src/resource.h index 6d9de9b857..fc32b059dc 100644 --- a/plugins/BuddyPounce/src/resource.h +++ b/plugins/BuddyPounce/src/resource.h @@ -49,8 +49,8 @@ #define IDC_SETTINGMSG 1061
#define IDC_SETTINGNUMBER 1066
#define IDC_SPIN 1067
-#define IDC_SETTINGTEXT 1068
-#define IDC_BUTTON 1069
+//#define IDC_SETTINGTEXT 1068
+//#define IDC_BUTTON 1069
#define IDC_SETTINGS 1075
#define IDC_CONTACTS 1076
#define IDC_ADVANCED 1078
|