mirror of
https://github.com/reactos/reactos.git
synced 2025-05-01 11:39:58 +00:00
set focus back after messagebox
fix formating of previous commit svn path=/trunk/; revision=22324
This commit is contained in:
parent
e522810b81
commit
2424761624
1 changed files with 2 additions and 1 deletions
|
@ -521,7 +521,7 @@ ComputerPageDlgProc(HWND hwndDlg,
|
||||||
_T("Setup cannot continue until you enter the name of your computer."),
|
_T("Setup cannot continue until you enter the name of your computer."),
|
||||||
_T("ReactOS Setup"),
|
_T("ReactOS Setup"),
|
||||||
MB_ICONERROR | MB_OK);
|
MB_ICONERROR | MB_OK);
|
||||||
SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
|
SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
|
||||||
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
|
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -534,6 +534,7 @@ ComputerPageDlgProc(HWND hwndDlg,
|
||||||
_T("Setup failed to set the computer name."),
|
_T("Setup failed to set the computer name."),
|
||||||
_T("ReactOS Setup"),
|
_T("ReactOS Setup"),
|
||||||
MB_ICONERROR | MB_OK);
|
MB_ICONERROR | MB_OK);
|
||||||
|
SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
|
||||||
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
|
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue