[ros-diffs] [janderwald] 22323: set focus back to computer name when invalid name was entered bug report by keytotime (bug 1569)

janderwald at svn.reactos.org janderwald at svn.reactos.org
Mon Jun 12 19:40:35 CEST 2006


Author: janderwald
Date: Mon Jun 12 21:40:35 2006
New Revision: 22323

URL: http://svn.reactos.ru/svn/reactos?rev=22323&view=rev
Log:
set focus back to computer name when invalid name was entered
bug report by keytotime (bug 1569)

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

Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.c?rev=22323&r1=22322&r2=22323&view=diff
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c Mon Jun 12 21:40:35 2006
@@ -521,6 +521,7 @@
                              _T("Setup cannot continue until you enter the name of your computer."),
                              _T("ReactOS Setup"),
                              MB_ICONERROR | MB_OK);
+				  SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
                   SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
                   return TRUE;
                 }




More information about the Ros-diffs mailing list