[ros-diffs] [mkupfer] 40173: - Disable "Back" in last page of syssetup, because it doesn't make any sense.

mkupfer at svn.reactos.org mkupfer at svn.reactos.org
Sun Mar 22 17:36:17 CET 2009


Author: mkupfer
Date: Sun Mar 22 19:36:16 2009
New Revision: 40173

URL: http://svn.reactos.org/svn/reactos?rev=40173&view=rev
Log:
- Disable "Back" in last page of syssetup, because it doesn't make any sense.

Modified:
    trunk/reactos/dll/win32/syssetup/wizard.c

Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.c?rev=40173&r1=40172&r2=40173&view=diff
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Sun Mar 22 19:36:16 2009
@@ -1990,22 +1990,13 @@
             {
               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));
                 SendDlgItemMessage(hwndDlg, IDC_RESTART_PROGRESS, PBM_SETPOS, 0, 0);
                 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 */



More information about the Ros-diffs mailing list