fix for bug#10810 - Help button can now point to local as well as online files - The local file can also be a relative file by using the Root variable for the CCKTool directory
git-svn-id: svn://10.0.0.236/trunk@64285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1456,11 +1456,13 @@ void CWizardMachineApp::HelpWiz()
|
||||
{
|
||||
CString helpvalue = (CurrentNode->localVars->wizbut->help);
|
||||
CString helpvar = helpvalue.Left(6);
|
||||
CString htmlfile ="";
|
||||
if (helpvar.CompareNoCase("Online")== 0)
|
||||
{
|
||||
helpvalue.Delete(0,7);
|
||||
// AfxMessageBox("online",MB_OK);
|
||||
theInterpreter->OpenBrowser((char*)(LPCTSTR)helpvalue);
|
||||
htmlfile = theInterpreter->replaceVars((char*)(LPCTSTR)helpvalue, NULL);
|
||||
theInterpreter->OpenBrowser((char*)(LPCTSTR)htmlfile);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user