disable the Back button on Finish page

svn path=/trunk/; revision=31994
This commit is contained in:
Christoph von Wittich 2008-01-25 15:00:29 +00:00
parent 262fbb9159
commit 080e09635b

View file

@ -1985,7 +1985,7 @@ FinishDlgProc(HWND hwndDlg,
{
case PSN_SETACTIVE:
/* Enable the correct buttons on for the active page */
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_FINISH);
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_FINISH);
SendDlgItemMessage(hwndDlg, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
MAKELPARAM(0, 300));
@ -1993,15 +1993,6 @@ FinishDlgProc(HWND hwndDlg,
SetTimer(hwndDlg, 1, 50, NULL);
break;
case PSN_WIZBACK:
/* Handle a Back button click, if necessary */
KillTimer(hwndDlg, 1);
/* Skip the progress page */
SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_DATETIMEPAGE);
SetupData.UnattendSetup = FALSE;
return TRUE;
case PSN_WIZFINISH:
/* Handle a Finish button click, if necessary */
break;