Author: dchapyshev
Date: Sat Aug 15 16:49:44 2009
New Revision: 42703
URL:
http://svn.reactos.org/svn/reactos?rev=42703&view=rev
Log:
- Add some resources
- Disable controls after dialog initialization
Modified:
trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc
trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc
trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc
trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc
trunk/reactos/dll/cpl/mmsys/lang/en-US.rc
trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc
trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc
trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc
trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc
trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc
trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc
trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc
trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc
trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc
trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc
trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc
trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc
trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc
trunk/reactos/dll/cpl/mmsys/resource.h
trunk/reactos/dll/cpl/mmsys/sounds.c
Modified: trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/bg-BG.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -266,4 +266,5 @@
5851 "Ïóñêîâ èçáîðíèê"
5852 "Èçëèçàíå îò ÐåàêòÎÑ"
5853 "Âëèçàíå â ÐåàêòÎÑ"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -269,4 +269,5 @@
5851 "Otevøení nabídky Start"
5852 "Odhláení od systému ReactOS"
5853 "Pøihláení k systému ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/de-DE.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Startmenü"
5852 "ReactOS-Abmeldung"
5853 "ReactOS-Anmeldung"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/el-GR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Start Menu"
5852 "ReactOS Logoff"
5853 "ReactOS Logon"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/en-US.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/en-US.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Start Menu"
5852 "ReactOS Logoff"
5853 "ReactOS Logon"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/es-ES.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Menu de Inicio"
5852 "Cierre de sesión de ReactOS"
5853 "Inicio de sesión en ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/fr-FR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Menu démarrer"
5852 "Déconnexion ReactOS"
5853 "Connexion ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/id-ID.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Start Menu"
5852 "ReactOS Logoff"
5853 "ReactOS Logon"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/it-IT.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Menu avvio"
5852 "Fine sessione di ReactOS"
5853 "Inizio sessione di ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/nl-NL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -265,4 +265,5 @@
5851 "Start Menu"
5852 "ReactOS Logoff"
5853 "ReactOS Logon"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/no-NO.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Start Meny"
5852 "ReactOS Logg av"
5853 "ReactOS Logg på"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/pl-PL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -274,4 +274,5 @@
5851 "Menu Start"
5852 "Wylogowanie z ReactOS"
5853 "Logowanie do ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/pt-BR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -264,4 +264,5 @@
5851 "Start Menu"
5852 "ReactOS Logoff"
5853 "ReactOS Logon"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/ro-RO.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -266,6 +266,7 @@
5851 "Meniu Start"
5852 "IeÈire din ReactOS"
5853 "Intrare în ReactOS"
+ 5854 "ReactOS Explorer"
END
#pragma code_page(default)
Modified: trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/ru-RU.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -263,4 +263,5 @@
5851 "Ãëàâíîå ìåíþ"
5852 "Âûõîä èç ReactOS"
5853 "Âõîä â ReactOS"
-END
+ 5854 "Ïðîâîäíèê ReactOS"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/sk-SK.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -269,4 +269,5 @@
5851 "Ponuka tart"
5852 "Odhlásenie zo systému ReactOS"
5853 "Prihlásenie do systému ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/uk-UA.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -272,4 +272,5 @@
5851 "Ãîëîâíå ìåíþ"
5852 "Âèõ³ä ³ç ReactOS"
5853 "Âõ³ä äî ReactOS"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/zh-CN.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -272,4 +272,5 @@
5851 "¡¸¿ªÊ¼¡¹²Ëµ¥"
5852 "ReactOS ×¢Ïú"
5853 "ReactOS 怬"
-END
+ 5854 "ReactOS Explorer"
+END
Modified: trunk/reactos/dll/cpl/mmsys/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/resource.h?r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/resource.h [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -66,8 +66,8 @@
#define IDC_SPEAKIMG 4625
#define IDC_MUTE_ICON 4626
+#define IDS_REACTOS_LOGOFF 5852
#define IDS_REACTOS_LOGON 5853
-#define IDS_REACTOS_LOGOFF 5852
#define IDS_REACTOS_DEFAULT_SCHEME 5856
Modified: trunk/reactos/dll/cpl/mmsys/sounds.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/sounds.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] Sat Aug 15 16:49:44 2009
@@ -795,9 +795,17 @@
{
case WM_INITDIALOG:
{
- UINT NumWavOut;
-
- NumWavOut = waveOutGetNumDevs();
+ UINT NumWavOut = waveOutGetNumDevs();
+
+ SendMessage(GetDlgItem(hwndDlg, IDC_PLAY_SOUND),
+ BM_SETIMAGE,(WPARAM)IMAGE_ICON,
+ (LPARAM)(HANDLE)LoadIcon(hApplet,
MAKEINTRESOURCE(IDI_PLAY_ICON)));
+
+ LoadEventLabels();
+ LoadSoundProfiles(hwndDlg);
+ LoadSoundFiles(hwndDlg);
+ ShowSoundScheme(hwndDlg);
+
if (!NumWavOut)
{
EnableWindow(GetDlgItem(hwndDlg, IDC_SOUND_SCHEME), FALSE);
@@ -806,14 +814,6 @@
EnableWindow(GetDlgItem(hwndDlg, IDC_SCHEME_LIST), FALSE);
}
- SendMessage(GetDlgItem(hwndDlg, IDC_PLAY_SOUND),
- BM_SETIMAGE,(WPARAM)IMAGE_ICON,
- (LPARAM)(HANDLE)LoadIcon(hApplet,
MAKEINTRESOURCE(IDI_PLAY_ICON)));
-
- LoadEventLabels();
- LoadSoundProfiles(hwndDlg);
- LoadSoundFiles(hwndDlg);
- ShowSoundScheme(hwndDlg);
if (wParam == (WPARAM)GetDlgItem(hwndDlg, IDC_SOUND_SCHEME))
return TRUE;
SetFocus(GetDlgItem(hwndDlg, IDC_SOUND_SCHEME));