summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/srmm.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-09 11:10:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-09 11:10:53 +0000
commite01f0a233002645f505d828d0698a0f1829fd2cb (patch)
tree84c7956949aad0c22e03b69e630ba191fb572723 /plugins/TabSRMM/src/srmm.cpp
parent25d0c59c48067f195991656514ef76a30053699c (diff)
fixes for old service calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@8493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/srmm.cpp')
-rw-r--r--plugins/TabSRMM/src/srmm.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index 76ce8aeaa0..145f6eb4de 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -204,52 +204,3 @@ int _DebugPopup(MCONTACT hContact, const TCHAR *fmt, ...)
}
return 0;
}
-
-INT_PTR CALLBACK DlgProcAbout(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
-{
- COLORREF url_visited = RGB(128, 0, 128);
- COLORREF url_unvisited = RGB(0, 0, 255);
-
- switch (msg) {
- case WM_INITDIALOG:
- TranslateDialogDefault(hwndDlg);
- {
- TCHAR tStr[80];
- char szVersion[512], *found = NULL, buildstr[50] = "";
- UINT build_nr = 0;
- DWORD v = pluginInfo.version;
-
- CallService(MS_SYSTEM_GETVERSIONTEXT, 500, (LPARAM)szVersion);
- if ((found = strchr(szVersion, '#')) != NULL) {
- build_nr = atoi(found + 1);
- mir_snprintf(buildstr, 50, "[Build #%d]", build_nr);
- }
- TCHAR *szBuildstr = mir_a2t(buildstr);
- mir_sntprintf(tStr, SIZEOF(tStr), _T("TabSRMM\n%s %d.%d.%d.%d (Unicode) %s"),
- _T("Version"), HIBYTE(HIWORD(v)), LOBYTE(HIWORD(v)), HIBYTE(LOWORD(v)), LOBYTE(LOWORD(v)),
- szBuildstr);
- SetDlgItemText(hwndDlg, IDC_HEADERBAR, tStr);
- mir_free(szBuildstr);
- }
- SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)LoadSkinnedIcon(SKINICON_EVENT_MESSAGE));
- SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadSkinnedIconBig(SKINICON_EVENT_MESSAGE));
- return TRUE;
- case WM_COMMAND:
- switch (LOWORD(wParam)) {
- case IDOK:
- case IDCANCEL:
- DestroyWindow(hwndDlg);
- return TRUE;
- case IDC_SUPPORT:
- CallService(MS_UTILS_OPENURL, 1, (LPARAM)"http://miranda.or.at/");
- break;
- }
- break;
- case WM_CTLCOLOREDIT:
- case WM_CTLCOLORSTATIC:
- SetTextColor((HDC)wParam, RGB(60, 60, 150));
- SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
- return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
- }
- return FALSE;
-}