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?... ============================================================================== --- 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; }