Skip to content

Commit

Permalink
Add link to Read the Docs documentation
Browse files Browse the repository at this point in the history
The dialog shown when the help file is missing now also shows a link to
the documentation hosted on Read the Docs (in addition to the link to
the help file download page).
  • Loading branch information
derceg committed Jun 4, 2018
1 parent ff00e5d commit 870972d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified Explorer++/Explorer++/Explorer++.rc
Binary file not shown.
3 changes: 2 additions & 1 deletion Explorer++/Explorer++/HelpFileMissingDialog.cpp
Expand Up @@ -60,7 +60,8 @@ INT_PTR CHelpFileMissingDialog::OnNotify(NMHDR *pnmhdr)
case NM_CLICK:
case NM_RETURN:
{
if(pnmhdr->hwndFrom == GetDlgItem(m_hDlg,IDC_SYSLINK_DOWNLOAD))
if(pnmhdr->hwndFrom == GetDlgItem(m_hDlg,IDC_SYSLINK_DOWNLOAD) ||
pnmhdr->hwndFrom == GetDlgItem(m_hDlg, IDC_SYSLINK_READTHEDOCS))
{
PNMLINK pnmlink = reinterpret_cast<PNMLINK>(pnmhdr);
ShellExecute(NULL,L"open",pnmlink->item.szUrl,
Expand Down
Binary file modified Explorer++/Explorer++/resource.h
Binary file not shown.

0 comments on commit 870972d

Please sign in to comment.