From 12fb19e113b8f9106b429f4cc454bf82c4649701 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Mon, 20 Aug 2007 22:10:55 +0000 Subject: [PATCH] - set check when theres a timeout svn path=/trunk/; revision=28439 --- reactos/dll/cpl/sysdm/startrec.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reactos/dll/cpl/sysdm/startrec.c b/reactos/dll/cpl/sysdm/startrec.c index 4931ee6043c..9082db68510 100644 --- a/reactos/dll/cpl/sysdm/startrec.c +++ b/reactos/dll/cpl/sysdm/startrec.c @@ -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;