summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgoptions.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-20 21:40:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-20 21:40:02 +0300
commit72a8c7e76a3048f733df1bf101ec6547606fdfbe (patch)
treed11c946edc04c5b0ea7c8aebcbdf1a366a9d5f6c /plugins/TabSRMM/src/msgoptions.cpp
parent2f816ea233c40d020d1b63ef2a11ec3b724a710d (diff)
minus ModernOpt
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r--plugins/TabSRMM/src/msgoptions.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp
index ae245e68b5..86845fd854 100644
--- a/plugins/TabSRMM/src/msgoptions.cpp
+++ b/plugins/TabSRMM/src/msgoptions.cpp
@@ -1602,37 +1602,9 @@ static INT_PTR CALLBACK DlgProcTabSrmmModernOptions(HWND hwndDlg, UINT msg, WPAR
return FALSE;
}
-static int ModernOptInitialise(WPARAM wParam, LPARAM)
-{
- static int iBoldControls[] =
- {
- IDC_TXT_TITLE1, IDC_TXT_TITLE2,
- IDC_TXT_TITLE3, IDC_TXT_TITLE4,
- IDC_TXT_TITLE5,
- MODERNOPT_CTRL_LAST
- };
-
- MODERNOPTOBJECT obj = { sizeof(obj) };
- obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE;
- obj.hIcon = Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
- obj.hInstance = g_hInst;
- obj.iSection = MODERNOPT_PAGE_MSGS;
- obj.iType = MODERNOPT_TYPE_SECTIONPAGE;
- obj.iBoldControls = iBoldControls;
- obj.lpzClassicGroup = nullptr;
- obj.lpzClassicPage = "Message Sessions";
- obj.lpzHelpUrl = "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM";
-
- obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPTS);
- obj.pfnDlgProc = DlgProcTabSrmmModernOptions;
- CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj);
- return 0;
-}
-
int TSAPI InitOptions(void)
{
HookEvent(ME_OPT_INITIALISE, OptInitialise);
- HookEvent(ME_MODERNOPT_INITIALIZE, ModernOptInitialise);
return 0;
}