checking in fixes for bug #6569 - confirmation on clicking the finish button
git-svn-id: svn://10.0.0.236/trunk@50348 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1009,6 +1009,16 @@ BOOL CWizardMachineApp::interpret(CString cmds, WIDGET *curWidget)
|
||||
_mkdir (tmpPath);
|
||||
}
|
||||
}
|
||||
else if (strcmp(pcmd, "Message") ==0)
|
||||
{
|
||||
CString DisplayVal = replaceVars(parms,NULL);
|
||||
int retval= AfxMessageBox((LPCTSTR)(DisplayVal),MB_YESNO);
|
||||
if (retval == IDYES)
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
else if (strcmp(pcmd, "DisplayImage") == 0)
|
||||
{
|
||||
// This is to dsiplay an image in a separate dialog
|
||||
|
||||
@@ -1269,9 +1269,11 @@ HBRUSH CWizardUI::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
|
||||
BOOL CWizardUI::OnWizardFinish()
|
||||
{
|
||||
// TODO: Add your specialized code here and/or call the base class
|
||||
|
||||
UpdateGlobals();
|
||||
|
||||
if (CurrentNode->navControls->onNextAction)
|
||||
if (!theApp.interpret(CurrentNode->navControls->onNextAction, NULL))
|
||||
return FALSE;
|
||||
return CPropertyPage::OnWizardFinish();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user