fixes to bug#7717 on exiting the wizard you get a message stating that data has been saved

This commit is contained in:
varada%netscape.com 1999-10-16 01:40:06 +00:00
parent 29ef77e926
commit d6f4f9ad58
2 changed files with 11 additions and 0 deletions

View File

@ -320,6 +320,8 @@ BOOL CWizardMachineApp::InitInstance()
if (PageReturnValue == IDCANCEL)
{
AfxMessageBox("All changed data excluding those on the current page will be saved", MB_OK);
theApp.CreateNewCache();
}
if (PageReturnValue == ID_HELP)

View File

@ -392,6 +392,15 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
_mkdir (tmpPath);
}
}
else if (strcmp(pcmd, "Message") ==0)
{
int rv = AfxMessageBox(parms,MB_YESNO);
if (rv == IDYES)
return TRUE;
if (rv == IDNO)
return FALSE;
}
else if (strcmp(pcmd, "DisplayImage") == 0)
{
// This is to dsiplay an image in a separate dialog