mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Disable "Back" in last page of syssetup, because it doesn't make any sense.
svn path=/trunk/; revision=40173
This commit is contained in:
parent
a773189e6f
commit
0297ddda32
1 changed files with 1 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue