Author: janderwald
Date: Tue Aug 21 02:10:55 2007
New Revision: 28439
URL:
http://svn.reactos.org/svn/reactos?rev=28439&view=rev
Log:
- set check when theres a timeout
Modified:
trunk/reactos/dll/cpl/sysdm/startrec.c
Modified: trunk/reactos/dll/cpl/sysdm/startrec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/startrec.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/startrec.c (original)
+++ trunk/reactos/dll/cpl/sysdm/startrec.c Tue Aug 21 02:10:55 2007
@@ -246,6 +246,10 @@
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;
}
@@ -369,6 +373,10 @@
{
/* 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);