diff options
author | dartraiden <wowemuh@gmail.com> | 2016-12-12 01:51:22 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2016-12-12 01:53:57 +0300 |
commit | 15dcbca30f52e8e4d7844f116d854ebdece90a46 (patch) | |
tree | 52dd70718ebd1f717cb17b8fb9aa2598a115e03c /plugins | |
parent | e0c07918e5644a6927b2408cc4f35a367f59344a (diff) |
we should point user to our wiki instead opening a non-existent file
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index 4c52cfb599..8c54402f3e 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -507,42 +507,6 @@ void AutoFindeFileNames(HWND hwndDlg) }
/////////////////////////////////////////////////////////////////////
-// Member Function : OpenHelp
-// Type : Global
-// Parameters : hwndDlg - handle to the parrent, ( Options Dlg )
-// Returns : void
-// Description :
-//
-// References : -
-// Remarks : -
-// Created : 020427, 27 April 2002
-// Developer : KN
-/////////////////////////////////////////////////////////////////////
-
-void OpenHelp(HWND hwndDlg)
-{
- wchar_t szPath[MAX_PATH];
- if (GetModuleFileName(hInstance, szPath, _countof(szPath))) {
- size_t nLen = mir_wstrlen(szPath);
- if (nLen > 3) {
- szPath[nLen - 1] = 't';
- szPath[nLen - 2] = 'x';
- szPath[nLen - 3] = 't';
-
- SHELLEXECUTEINFO st = { 0 };
- st.cbSize = sizeof(st);
- st.fMask = SEE_MASK_INVOKEIDLIST;
- st.hwnd = NULL;
- st.lpFile = szPath;
- st.nShow = SW_SHOWDEFAULT;
- ShellExecuteEx(&st);
- }
- }
-
- MessageBox(hwndDlg, TranslateT("Failed to get the path to Msg_Export.dll\nPlease locate Msg_Export.txt yourself"), MSG_BOX_TITEL, MB_OK);
-}
-
-/////////////////////////////////////////////////////////////////////
// Member Function : DlgProcMsgExportOpts
// Type : Global
// Parameters : hwndDlg - handle to this dialog
@@ -781,7 +745,7 @@ static INT_PTR CALLBACK DlgProcMsgExportOpts(HWND hwndDlg, UINT msg, WPARAM wPar return TRUE;
case IDC_OPEN_HELP:
- OpenHelp(hwndDlg);
+ Utils_OpenUrl("http://wiki.miranda-ng.org/index.php?title=Plugin:Msg_Export");
return TRUE;
case ID_SET_TO_DEFAULT:
|