- Disable "Back" in last page of syssetup, because it doesn't make any sense.

svn path=/trunk/; revision=40173
This commit is contained in:
Matthias Kupfer 2009-03-22 16:36:16 +00:00
parent a773189e6f
commit 0297ddda32

View file

@ -1990,7 +1990,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));
@ -1998,15 +1998,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;