Change Help.Contents to Help.OpenHelp.
Instead of opening the OBS.chm it will open the online Help.
This commit is contained in:
parent
f075cdcda0
commit
c98379b158
2
OBS.rc
2
OBS.rc
@ -961,7 +961,7 @@ BEGIN
|
||||
POPUP "MainMenu.Help"
|
||||
BEGIN
|
||||
MENUITEM "MainMenu.Help.VisitWebsite", ID_HELP_VISITWEBSITE
|
||||
MENUITEM "MainMenu.Help.Contents", ID_HELP_CONTENTS
|
||||
MENUITEM "MainMenu.Help.OpenHelp", ID_HELP_OPENHELP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "MainMenu.Settings.ShowLogWindow", ID_SHOWLOG
|
||||
POPUP "MainMenu.Help.LogFiles"
|
||||
|
@ -3077,17 +3077,8 @@ LRESULT CALLBACK OBS::OBSProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
ShellExecute(NULL, TEXT("open"), TEXT("http://www.obsproject.com"), 0, 0, SW_SHOWNORMAL);
|
||||
break;
|
||||
|
||||
case ID_HELP_CONTENTS:
|
||||
{
|
||||
String strHelpPath;
|
||||
UINT dirSize = GetCurrentDirectory(0, 0);
|
||||
strHelpPath.SetLength(dirSize);
|
||||
GetCurrentDirectory(dirSize, strHelpPath.Array());
|
||||
|
||||
strHelpPath << TEXT("\\OBSHelp.chm");
|
||||
|
||||
ShellExecute(NULL, TEXT("open"), strHelpPath, 0, 0, SW_SHOWNORMAL);
|
||||
}
|
||||
case ID_HELP_OPENHELP:
|
||||
ShellExecute(NULL, TEXT("open"), TEXT("http://jp9000.github.io/OBS/"), 0, 0, SW_SHOWNORMAL);
|
||||
break;
|
||||
|
||||
case ID_HELP_CHECK_FOR_UPDATES:
|
||||
|
@ -371,7 +371,7 @@
|
||||
#define ID_MAINMENU_MAINMENU40034 40034
|
||||
#define ID_SETTINGS_OPENCONFIGFOLDER 40035
|
||||
#define ID_SETTINGS_OPENLOGFOLDER 40036
|
||||
#define ID_HELP_CONTENTS 40037
|
||||
#define ID_HELP_OPENHELP 40037
|
||||
#define ID_HELP_ABOUT 40038
|
||||
#define ID_FILE_EXIT 40039
|
||||
#define ID_SETTINGS_SETTINGS 40041
|
||||
|
@ -85,7 +85,7 @@ MainMenu.File.Exit="&Beenden"
|
||||
MainMenu.File.OpenRecordingsFolder="Öffne &Aufnahmenordner"
|
||||
MainMenu.File.Save="&Speichern"
|
||||
|
||||
MainMenu.Help.Contents="&Inhalt"
|
||||
MainMenu.Help.OpenHelp="Hilfe öffnen"
|
||||
MainMenu.Help.VisitWebsite="Webseite besuchen"
|
||||
MainMenu.Help.CheckForUpdates="Nach &Updates suchen"
|
||||
|
||||
|
@ -99,7 +99,7 @@ MainMenu.File.Exit="E&xit"
|
||||
MainMenu.File.OpenRecordingsFolder="Open &Recordings Folder"
|
||||
MainMenu.File.Save="&Save"
|
||||
|
||||
MainMenu.Help.Contents="&Contents"
|
||||
MainMenu.Help.OpenHelp="Open Help Page"
|
||||
MainMenu.Help.VisitWebsite="Visit Website"
|
||||
MainMenu.Help.CheckForUpdates="Check for &updates"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user