Author: janderwald
Date: Sat Jun 28 07:48:06 2008
New Revision: 34151
URL:
http://svn.reactos.org/svn/reactos?rev=34151&view=rev
Log:
- enable/disable edit field when checkbox is (de)-selected
- initialize range control
- use ES_NUMBER style for edit text
- recovery options handling is not yet implemented
- the resource for czech, denmark, hungary, japan, netherlands, sweden must be manually
synced
- fixes bug 3390
Modified:
trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc
trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc
trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc
trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
trunk/reactos/dll/cpl/sysdm/startrec.c
Modified: trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/bg-BG.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -143,11 +143,11 @@
LTEXT "Ïîäðàçáèðàíà ðàáîòíà &ñèñòåìà", IDC_STATIC, 14, 26, 160,
8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "Ïîêàçâàíå íà ñïèñúêà ñ &ðàáîòíè ñèñòåìè:", IDC_STRECLIST,
14, 56, 165, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåêóíäè", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Ïîêàçâàíå èçáîðíèê çà &âúçñòàíîâÿâàíå:", IDC_STRRECREC,
14, 70, 165, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåêóíäè", IDC_STATIC, 215, 70, 25, 8
LTEXT "Çà äà îáðàáîòèòå ðú÷íî ôàéëà ñ ïóñêîâèòå íàñòðîéêè, íàòèñíåòå
Îáðàáîòêà.", IDC_STATIC, 14, 87, 187, 16
Modified: trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/de-DE.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -150,11 +150,11 @@
LTEXT "Standard Betriebs&system:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Anzeigedauer der Betriebssystem-Liste:", IDC_STRECLIST,
14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 185, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 185, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "Sek.", IDC_STATIC, 221, 56, 14, 8
AUTOCHECKBOX "Anze&igedauer der Wiederherstellungs-Optionen:",
IDC_STRRECREC, 14, 70, 165, 8
- EDITTEXT IDC_STRRECRECEDIT, 185, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 185, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "Sek.", IDC_STATIC, 221, 70, 14, 8
LTEXT "Um die Start-Optionen manuell zu bearbeiten, klicken Sie auf
""Bearbeiten"".", IDC_STATIC, 14, 84, 170, 18
Modified: trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/el-GR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -145,11 +145,11 @@
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
//CHECKBOX "&Time to display list of operating systems:",
IDC_STRECLIST, 14, 56, 150, 8
CONTROL "ÄéÜñêåéá ðñïâï&ëÞò ëßóôáò :", IDC_STRECLIST,
"button", BS_AUTOCHECKBOX, 14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "äåõô.", IDC_STATIC, 215, 56, 25, 8
CONTROL "ÄéÜñêåéá ðñï&âïëÞò åðéëïãþí áðïêáôÜóôáóçò:",
IDC_STRRECREC, "button", BS_AUTOCHECKBOX, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "äåõô.", IDC_STATIC, 215, 70, 25, 8
LTEXT "Ãéá ìç áõôüìáôç åðåîåñãáóßá ôùí åðéëïãþí åêêßíçóçò, êÜíôå êëéê óôï
êïõìðß Åðåîåñãáóßá.", IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/en-US.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/en-US.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -142,11 +142,11 @@
LTEXT "Default operating &system:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Time to display list of operating systems:",
IDC_STRECLIST, 14, 56, 160, 8
- EDITTEXT IDC_STRRECLISTEDIT, 185, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 185, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "sec.", IDC_STATIC, 223, 56, 18, 8
AUTOCHECKBOX "Time to &display recovery options when needed:",
IDC_STRRECREC, 14, 70, 170, 8
- EDITTEXT IDC_STRRECRECEDIT, 185, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 185, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "sec.", IDC_STATIC, 223, 70, 18, 8
LTEXT "To edit the startup options file manually, click Edit.",
IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/es-ES.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -147,11 +147,11 @@
LTEXT "&Sistema operativo predeterminado:", IDC_STATIC, 14, 26,
100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Mostrar la lista de sistemas operativos durante:",
IDC_STRECLIST, 14, 56, 165, 8
- EDITTEXT IDC_STRRECLISTEDIT, 180, 54, 29, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 180, 54, 29, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "segundos", IDC_STATIC, 210, 56, 30, 8
AUTOCHECKBOX "&Tiempo para mostrar opciones de recuperación:",
IDC_STRRECREC, 14, 70, 165, 8
- EDITTEXT IDC_STRRECRECEDIT, 180, 68, 29, 12
+ EDITTEXT IDC_STRRECRECEDIT, 180, 68, 29, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "segundos", IDC_STATIC, 210, 70, 30, 8
LTEXT "Para editar manualmente el archivo de opciones de inicio, haga clic
en Editar.", IDC_STATIC, 14, 84, 187, 17
Modified: trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/fr-FR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -145,11 +145,11 @@
LTEXT "Système d'exploitation par défaut :", IDC_STATIC, 14, 26,
110, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Affiche la liste des systèmes pendant :", IDC_STRECLIST,
14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "secondes", IDC_STATIC, 210, 56, 30, 8
AUTOCHECKBOX "Affiche les options de récupération pendant :",
IDC_STRRECREC, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "secondes", IDC_STATIC, 210, 70, 30, 8
LTEXT "Pour éditer le fichier d'options de démarrage manuellement,
cliquer sur Éditer.", IDC_STATIC, 14, 85, 187, 18
Modified: trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/id-ID.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -142,11 +142,11 @@
LTEXT "Default operating &system:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Time to display list of operating systems:",
IDC_STRECLIST, 14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "seconds", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Time to &display recovery options when needed:",
IDC_STRRECREC, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "seconds", IDC_STATIC, 215, 70, 25, 8
LTEXT "To edit the startup options file manually, click Edit.",
IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/it-IT.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -142,11 +142,11 @@
LTEXT "Sistema operativo predefinito:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Tempo per la visualizzazione dell'elenco dei sistemi
operativi:", IDC_STRECLIST, 14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "secondi", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Tempo per la visualizzazione delle opzioni di recupero disponibili
quando è necessario:", IDC_STRRECREC, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "secondi", IDC_STATIC, 215, 70, 25, 8
LTEXT "Per modificare le opzioni di avvio manualmenta , clicca
Modifica.", IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/pl-PL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -147,11 +147,11 @@
LTEXT "&Domylny system operacyjny:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Czas wywietlania listy systemów operacyjnych:",
IDC_STRECLIST, 14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "s", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Czas wywietlania w razie potrzeby &opcji odzyskiwania:",
IDC_STRRECREC, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "s", IDC_STATIC, 215, 70, 25, 8
LTEXT "Aby rêcznie edytowaæ plik opcji autostartu, kliknij przycisk
Edytuj.", IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ru-RU.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -142,11 +142,11 @@
LTEXT "Îïåðàöèîííàÿ ñèñòåìà ïî óìîë÷àíèþ:", IDC_STATIC, 14, 26, 145,
8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "Î&òîáðàæàòü ñïèñîê îïåðàöèîííûõ ñèñòåì:", IDC_STRECLIST,
14, 56, 161, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåêóíä", IDC_STATIC, 213, 56, 25, 8
AUTOCHECKBOX "Îòîáðàæàòü &âàðèàíòû âîñòàíîâëåíèÿ:", IDC_STRRECREC, 14,
70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåêóíä", IDC_STATIC, 213, 70, 25, 8
LTEXT "Äëÿ ðåäàêòèð. âðó÷íóþ íàæìèòå
""Èçìåíèòü""", IDC_STATIC, 14, 90, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/sk-SK.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -149,11 +149,11 @@
LTEXT "Predvolený operaèný &systém:", IDC_STATIC, 14, 26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Zobrazi zoznam operaèných systémov na:", IDC_STRECLIST,
14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "sekúnd", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Ak sú &potrebné monosti obnovenia, zobrazi ich na:",
IDC_STRRECREC, 14, 70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "sekúnd", IDC_STATIC, 215, 70, 25, 8
LTEXT "Ak chcete manuálne upravi súbor s monosami spustenia systému,
kliknite na tlaèidlo Upravi.", IDC_STATIC, 14, 89, 187, 8
Modified: trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/uk-UA.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -150,11 +150,11 @@
LTEXT "&Îïåðàö³éíà ñèñòåìà çà çàìîâ÷óâàííÿì:", IDC_STATIC, 14,
26, 100, 8
COMBOBOX IDC_STRECOSCOMBO, 14, 37, 224, 46, CBS_DROPDOWNLIST
AUTOCHECKBOX "&Ïîêàçóâàòè ñïèñîê îïåðàö³éíèõ ñèñòåì:", IDC_STRECLIST,
14, 56, 150, 8
- EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12
+ EDITTEXT IDC_STRRECLISTEDIT, 179, 54, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECLISTUPDWN, "msctls_updown32", UDS_WRAP
| UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåê", IDC_STATIC, 215, 56, 25, 8
AUTOCHECKBOX "Ïî&êàçóâàòè âàð³àíòè â³äíîâëåííÿ:", IDC_STRRECREC, 14,
70, 163, 8
- EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12
+ EDITTEXT IDC_STRRECRECEDIT, 179, 68, 30, 12, ES_NUMBER
CONTROL "", IDC_STRRECRECUPDWN, "msctls_updown32", UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS |
WS_CHILD | WS_VISIBLE, 0, 0, 8, 13
LTEXT "ñåê", IDC_STATIC, 215, 70, 25, 8
LTEXT "³äðåäàãóâàòè ñïèñîê çàâàíòàæåííÿ âðó÷íó.", IDC_STATIC, 14,
89, 187, 8
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 [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/startrec.c [iso-8859-1] Sat Jun 28 07:48:06 2008
@@ -26,14 +26,34 @@
if (Timeout == 0)
{
EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECLISTUPDWN), FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECLISTEDIT), FALSE);
}
else
{
EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECLISTUPDWN), TRUE);
- }
-
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECLISTEDIT), TRUE);
+ }
+ SendDlgItemMessage(hwndDlg, IDC_STRRECLISTUPDWN, UDM_SETRANGE, (WPARAM) 0, (LPARAM)
MAKELONG((short) 999, 0));
SendDlgItemMessage(hwndDlg, IDC_STRRECLISTUPDWN, UDM_SETPOS, (WPARAM) 0, (LPARAM)
MAKELONG((short) Timeout, 0));
}
+
+static VOID
+SetRecoveryTimeout(HWND hwndDlg, INT Timeout)
+{
+ if (Timeout == 0)
+ {
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECRECUPDWN), FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECRECEDIT), FALSE);
+ }
+ else
+ {
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECRECUPDWN), TRUE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_STRRECRECEDIT), TRUE);
+ }
+ SendDlgItemMessage(hwndDlg, IDC_STRRECRECUPDWN, UDM_SETRANGE, (WPARAM) 0, (LPARAM)
MAKELONG((short) 999, 0));
+ SendDlgItemMessage(hwndDlg, IDC_STRRECRECUPDWN, UDM_SETPOS, (WPARAM) 0, (LPARAM)
MAKELONG((short) Timeout, 0));
+}
+
static DWORD
GetSystemDrive(TCHAR **szSystemDrive)
@@ -685,6 +705,7 @@
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pStartInfo);
LoadRecoveryOptions(hwndDlg, pStartInfo);
+ SetRecoveryTimeout(hwndDlg, 0);
return LoadOSList(hwndDlg, pStartInfo);
case WM_DESTROY:
@@ -769,6 +790,13 @@
SetTimeout(hwndDlg, 0);
break;
+ case IDC_STRRECREC:
+ if (SendDlgItemMessage(hwndDlg, IDC_STRRECREC, BM_GETCHECK,
(WPARAM)0, (LPARAM)0) == BST_CHECKED)
+ SetRecoveryTimeout(hwndDlg, 30);
+ else
+ SetRecoveryTimeout(hwndDlg, 0);
+ break;
+
case IDC_STRRECDEBUGCOMBO:
if (HIWORD(wParam) == CBN_SELCHANGE)
{