- set check when theres a timeout

svn path=/trunk/; revision=28439
This commit is contained in:
Johannes Anderwald 2007-08-20 22:10:55 +00:00
parent 7f430604fd
commit 12fb19e113

View file

@ -246,6 +246,10 @@ int LoadFreeldrSettings(HINF hInf, HWND hwndDlg)
SendDlgItemMessage(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
}
if(TimeOut)
{
SendDlgItemMessage(hwndDlg, IDC_STRECLIST, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
}
SetTimeout(hwndDlg, TimeOut);
return TRUE;
}
@ -370,6 +374,10 @@ int LoadBootSettings(HINF hInf, HWND hwndDlg)
/* set cur sel */
SendDlgItemMessage(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
}
if(TimeOut)
{
SendDlgItemMessage(hwndDlg, IDC_STRECLIST, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
}
SetTimeout(hwndDlg, TimeOut);
return TRUE;