Add documentation link in the Help menu

This commit is contained in:
RichardG867
2020-07-19 19:21:03 -03:00
parent 13295a54dc
commit 78d0466bef
4 changed files with 9 additions and 1 deletions

View File

@@ -39,6 +39,7 @@
#include <86box/plat_midi.h>
#include <86box/ui.h>
#include <86box/win.h>
#include <86box/version.h>
#ifdef USE_DISCORD
# include <86box/win_discord.h>
#endif
@@ -363,6 +364,10 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
AboutDialogCreate(hwnd);
break;
case IDM_DOCS:
ShellExecute(hwnd, L"open", EMU_DOCS_URL, NULL, NULL, SW_SHOW);
break;
case IDM_UPDATE_ICONS:
update_icons ^= 1;
CheckMenuItem(hmenu, IDM_UPDATE_ICONS, update_icons ? MF_CHECKED : MF_UNCHECKED);