mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
disable the Back button on Finish page
svn path=/trunk/; revision=31994
This commit is contained in:
parent
262fbb9159
commit
080e09635b
|
@ -1985,7 +1985,7 @@ FinishDlgProc(HWND hwndDlg,
|
||||||
{
|
{
|
||||||
case PSN_SETACTIVE:
|
case PSN_SETACTIVE:
|
||||||
/* Enable the correct buttons on for the active page */
|
/* 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,
|
SendDlgItemMessage(hwndDlg, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
|
||||||
MAKELPARAM(0, 300));
|
MAKELPARAM(0, 300));
|
||||||
|
@ -1993,15 +1993,6 @@ FinishDlgProc(HWND hwndDlg,
|
||||||
SetTimer(hwndDlg, 1, 50, NULL);
|
SetTimer(hwndDlg, 1, 50, NULL);
|
||||||
break;
|
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:
|
case PSN_WIZFINISH:
|
||||||
/* Handle a Finish button click, if necessary */
|
/* Handle a Finish button click, if necessary */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue