diff options
author | Oliver Schneider <oliver@assarbad.net> | 2017-11-16 00:58:08 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2017-11-16 00:58:08 +0300 |
commit | f9e4de4e0cca8f13b403ee09079b818e51d66c00 (patch) | |
tree | 1af8b9ef70c9bdc5903c434f503b4b56b29e8ecc /windirstat/windirstat.cpp | |
parent | 8398db03060361f352ca924eaa387bec083fd4f4 (diff) |
Removing HTML help feature (for now just defanged)
Adding "/nodefaultlib:libcmt" to debug configurations of WDS because of the luajit2 static lib
Fixed the /debug:fastlink issue with VS2017
Diffstat (limited to 'windirstat/windirstat.cpp')
-rw-r--r-- | windirstat/windirstat.cpp | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/windirstat/windirstat.cpp b/windirstat/windirstat.cpp index 30f3e04..d28bd5b 100644 --- a/windirstat/windirstat.cpp +++ b/windirstat/windirstat.cpp @@ -765,22 +765,14 @@ BOOL CDirstatApp::OnIdle(LONG lCount) void CDirstatApp::OnHelpManual() { + // FIXME: open browser, point to Wiki (via windirstat.net short link), based on current language DoContextHelp(IDH_StartPage); } -void CDirstatApp::DoContextHelp(DWORD topic) +void CDirstatApp::DoContextHelp(DWORD) { - if(::PathFileExists(m_pszHelpFilePath)) - { - // I want a NULL parent window. So I don't use CWinApp::HtmlHelp(). - ::HtmlHelp(NULL, m_pszHelpFilePath, HH_HELP_CONTEXT, topic); - } - else - { - CString msg; - msg.FormatMessage(IDS_HELPFILEsCOULDNOTBEFOUND, _T("windirstat.chm")); - // TODO: Add the option to download the "current language" help file ... - AfxMessageBox(msg); - } + CString msg; + msg.FormatMessage(IDS_HELPFILEsCOULDNOTBEFOUND, _T("windirstat.chm")); + AfxMessageBox(msg); } |