ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
February 2019
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
23 participants
208 discussions
Start a n
N
ew thread
[reactos] 01/01: [SNDVOL32] Advanced Controls dialog: Implemented the Bass and Treble trackbars.
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=26b52c4e061a4195bdaaa…
commit 26b52c4e061a4195bdaaab6184446d726021b453 Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sun Feb 24 12:50:37 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sun Feb 24 12:50:37 2019 +0100 [SNDVOL32] Advanced Controls dialog: Implemented the Bass and Treble trackbars. Please check if they are working correctly. I have no way to check them myself. --- base/applications/sndvol32/advanced.c | 115 ++++++++++++++++++++++++++++++---- 1 file changed, 103 insertions(+), 12 deletions(-) diff --git a/base/applications/sndvol32/advanced.c b/base/applications/sndvol32/advanced.c index a4f055f18f..a41112a931 100644 --- a/base/applications/sndvol32/advanced.c +++ b/base/applications/sndvol32/advanced.c @@ -7,11 +7,24 @@ #include "sndvol32.h" +typedef struct _ADVANCED_DATA +{ + PADVANCED_CONTEXT Context; + + BOOL bEnabled[4]; + DWORD dwControlId[4]; + + /* Bass and Treble */ + DWORD dwMaximum[2]; + DWORD dwMinimum[2]; + +} ADVANCED_DATA, *PADVANCED_DATA; + static VOID OnInitDialog( HWND hwndDlg, - PADVANCED_CONTEXT Context) + PADVANCED_DATA pData) { MIXERCONTROLDETAILS_UNSIGNED UnsignedDetails; MIXERCONTROLDETAILS_BOOLEAN BooleanDetails; @@ -25,7 +38,7 @@ OnInitDialog( /* Set the dialog title */ LoadStringW(hAppInstance, IDS_ADVANCED_CONTROLS, szRawBuffer, ARRAYSIZE(szRawBuffer)); - StringCchPrintfW(szCookedBuffer, ARRAYSIZE(szCookedBuffer), szRawBuffer, Context->LineName); + StringCchPrintfW(szCookedBuffer, ARRAYSIZE(szCookedBuffer), szRawBuffer, pData->Context->LineName); SetWindowTextW(hwndDlg, szCookedBuffer); /* Disable the tone controls */ @@ -54,7 +67,7 @@ OnInitDialog( for (i = IDC_ADV_OTHER_CONTROLS; i<= IDC_ADV_OTHER_CHECK2; i++) ShowWindow(GetDlgItem(hwndDlg, i), SW_HIDE); - if (SndMixerQueryControls(Context->Mixer, &ControlCount, Context->Line, &Control)) + if (SndMixerQueryControls(pData->Context->Mixer, &ControlCount, pData->Context->Line, &Control)) { for (Index = 0; Index < ControlCount; Index++) { @@ -62,7 +75,7 @@ OnInitDialog( { /* Bass control */ - if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) + if (SndMixerGetVolumeControlDetails(pData->Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) { for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_BASS_SLIDER; i++) EnableWindow(GetDlgItem(hwndDlg, i), TRUE); @@ -70,13 +83,18 @@ OnInitDialog( dwStep = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); dwPosition = (UnsignedDetails.dwValue - Control[Index].Bounds.dwMinimum) / dwStep; SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETPOS, (WPARAM)TRUE, dwPosition); + + pData->bEnabled[0] = TRUE; + pData->dwControlId[0] = Control[Index].dwControlID; + pData->dwMaximum[0] = Control[Index].Bounds.dwMaximum; + pData->dwMinimum[0] = Control[Index].Bounds.dwMinimum; } } else if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_TREBLE) { /* Treble control */ - if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) + if (SndMixerGetVolumeControlDetails(pData->Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) { for (i = IDC_ADV_TREBLE_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) EnableWindow(GetDlgItem(hwndDlg, i), TRUE); @@ -84,6 +102,11 @@ OnInitDialog( dwStep = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); dwPosition = (UnsignedDetails.dwValue - Control[Index].Bounds.dwMinimum) / dwStep; SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETPOS, (WPARAM)TRUE, dwPosition); + + pData->bEnabled[1] = TRUE; + pData->dwControlId[1] = Control[Index].dwControlID; + pData->dwMaximum[1] = Control[Index].Bounds.dwMaximum; + pData->dwMinimum[1] = Control[Index].Bounds.dwMinimum; } } else if (((Control[Index].dwControlType & (MIXERCONTROL_CT_CLASS_MASK | MIXERCONTROL_CT_SUBCLASS_MASK | MIXERCONTROL_CT_UNITS_MASK)) == MIXERCONTROL_CONTROLTYPE_BOOLEAN) && @@ -93,7 +116,7 @@ OnInitDialog( if (dwOtherControls < 2) { - if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_BOOLEAN), (LPVOID)&BooleanDetails) != -1) + if (SndMixerGetVolumeControlDetails(pData->Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_BOOLEAN), (LPVOID)&BooleanDetails) != -1) { LoadStringW(hAppInstance, IDS_OTHER_CONTROLS1 + dwOtherControls, szRawBuffer, ARRAYSIZE(szRawBuffer)); StringCchPrintfW(szCookedBuffer, ARRAYSIZE(szCookedBuffer), szRawBuffer, Control[Index].szName); @@ -103,6 +126,9 @@ OnInitDialog( SendDlgItemMessageW(hwndDlg, IDC_ADV_OTHER_CHECK1 + dwOtherControls, BM_SETCHECK, (WPARAM)BooleanDetails.fValue, 0); + pData->bEnabled[dwOtherControls + 2] = TRUE; + pData->dwControlId[dwOtherControls + 2] = Control[Index].dwControlID; + dwOtherControls++; } } @@ -122,7 +148,7 @@ OnInitDialog( /* Resize the dialog */ GetWindowRect(hwndDlg, &rect); - dy = MulDiv((dwOtherControls == 1) ? 73 : (73 + 15), Context->MixerWindow->baseUnit.cy, 8); + dy = MulDiv((dwOtherControls == 1) ? 73 : (73 + 15), pData->Context->MixerWindow->baseUnit.cy, 8); rect.bottom += dy; SetWindowPos(hwndDlg, HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOZORDER); @@ -142,7 +168,7 @@ OnInitDialog( GetWindowRect(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), &rect); MapWindowPoints(HWND_DESKTOP, hwndDlg, (LPPOINT)&rect, 2); - dy = MulDiv(15, Context->MixerWindow->baseUnit.cy, 8); + dy = MulDiv(15, pData->Context->MixerWindow->baseUnit.cy, 8); rect.bottom += dy; SetWindowPos(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOZORDER); @@ -151,6 +177,49 @@ OnInitDialog( } +static +VOID +OnHScroll( + HWND hwndDlg, + PADVANCED_DATA pData, + DWORD dwCtrlID) +{ + MIXERCONTROLDETAILS_UNSIGNED Details; + DWORD dwControlID = 0, dwStep, dwPosition; + DWORD dwMaximum, dwMinimum; + + if (dwCtrlID != IDC_ADV_BASS_SLIDER || + dwCtrlID != IDC_ADV_TREBLE_SLIDER) + return; + + if (dwCtrlID == IDC_ADV_BASS_SLIDER) + { + if (pData->bEnabled[0] == FALSE) + return; + + dwControlID = pData->dwControlId[0]; + dwMaximum = pData->dwMaximum[0]; + dwMinimum = pData->dwMinimum[0]; + } + else if (dwCtrlID == IDC_ADV_TREBLE_SLIDER) + { + if (pData->bEnabled[1] == FALSE) + return; + + dwControlID = pData->dwControlId[1]; + dwMaximum = pData->dwMaximum[1]; + dwMinimum = pData->dwMinimum[1]; + } + + dwPosition = (DWORD)SendDlgItemMessage(hwndDlg, dwCtrlID, TBM_GETPOS, 0, 0); + dwStep = (dwMaximum - dwMinimum) / (VOLUME_MAX - VOLUME_MIN); + + Details.dwValue = (dwPosition * dwStep) + dwMinimum; + + SndMixerSetVolumeControlDetails(pData->Context->Mixer, dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), &Details); +} + + INT_PTR CALLBACK AdvancedDlgProc( @@ -159,14 +228,20 @@ AdvancedDlgProc( WPARAM wParam, LPARAM lParam) { - PADVANCED_CONTEXT Context; + PADVANCED_DATA pData; + + pData = (PADVANCED_DATA)GetWindowLongPtr(hwndDlg, DWLP_USER); switch (uMsg) { case WM_INITDIALOG: - SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)lParam); - Context = (PADVANCED_CONTEXT)((LONG_PTR)lParam); - OnInitDialog(hwndDlg, Context); + pData = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(ADVANCED_DATA)); + if (pData != NULL) + { + SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pData); + pData->Context = (PADVANCED_CONTEXT)((LONG_PTR)lParam); + OnInitDialog(hwndDlg, pData); + } return TRUE; case WM_COMMAND: @@ -178,9 +253,25 @@ AdvancedDlgProc( } break; + case WM_HSCROLL: + if (pData != NULL) + { + if (LOWORD(wParam) == TB_THUMBTRACK) + OnHScroll(hwndDlg, pData, GetDlgCtrlID((HWND)lParam)); + } + break; + case WM_CLOSE: EndDialog(hwndDlg, IDCANCEL); break; + + case WM_DESTROY: + if (pData != NULL) + { + HeapFree(GetProcessHeap(), 0, pData); + SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)NULL); + } + break; } return FALSE;
5 years, 10 months
1
0
0
0
[reactos] 02/02: [SNDVOL32] Remove trailing whitespace
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=01c0d30f4f1591196eb55…
commit 01c0d30f4f1591196eb55797bb730730994c640c Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sat Feb 23 17:26:48 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sat Feb 23 17:27:43 2019 +0100 [SNDVOL32] Remove trailing whitespace --- base/applications/sndvol32/lang/bg-BG.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/cs-CZ.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/de-DE.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/el-GR.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/en-US.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/es-ES.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/fr-FR.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/he-IL.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/hu-HU.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/id-ID.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/it-IT.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/ja-JP.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/ko-KR.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/lt-LT.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/nl-NL.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/no-NO.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/pl-PL.rc | 34 ++++++++++++++++---------------- base/applications/sndvol32/lang/pt-BR.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/ro-RO.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/ru-RU.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/sk-SK.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/sq-AL.rc | 34 ++++++++++++++++---------------- base/applications/sndvol32/lang/sv-SE.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/th-TH.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/tr-TR.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/uk-UA.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/zh-CN.rc | 32 +++++++++++++++--------------- base/applications/sndvol32/lang/zh-TW.rc | 32 +++++++++++++++--------------- 28 files changed, 450 insertions(+), 450 deletions(-) diff --git a/base/applications/sndvol32/lang/bg-BG.rc b/base/applications/sndvol32/lang/bg-BG.rc index 82ce984a1e..9f61bc3153 100644 --- a/base/applications/sndvol32/lang/bg-BG.rc +++ b/base/applications/sndvol32/lang/bg-BG.rc @@ -120,21 +120,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/cs-CZ.rc b/base/applications/sndvol32/lang/cs-CZ.rc index 1699735f3f..6d088c8722 100644 --- a/base/applications/sndvol32/lang/cs-CZ.rc +++ b/base/applications/sndvol32/lang/cs-CZ.rc @@ -122,21 +122,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/de-DE.rc b/base/applications/sndvol32/lang/de-DE.rc index 9edb833e09..ed7de4b01a 100644 --- a/base/applications/sndvol32/lang/de-DE.rc +++ b/base/applications/sndvol32/lang/de-DE.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Erweiterte Lautstärkeeinstellungen" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "Mit diesen Einstellungen können Audioeigenschaften genauer eingestellt werden.", -1, 44, 7, 200, 32 - GROUPBOX "Tonsteuerung", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "Diese Einstellungen bestimmen die Audioeigenschaften.", -1, 17, 48, 200, 14 - LTEXT "&Tiefen:", -1, 17, 62, 50, 8 - LTEXT "Niedrig", IDC_ADV_BASS_LOW, 70, 62, 23, 8 - LTEXT "Hoch", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Höhen:", -1, 17, 90, 50, 8 - LTEXT "Niedrig", IDC_ADV_TREBLE_LOW, 70, 90, 23, 8 - LTEXT "Hoch", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Andere Einstellungen", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "Diese Einstellungen verändern zusätzlich die Audioeigenschaften. Weitere Informationen finden Sie in der Hardwaredokumentation.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "Mit diesen Einstellungen können Audioeigenschaften genauer eingestellt werden.", -1, 44, 7, 200, 32 + GROUPBOX "Tonsteuerung", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "Diese Einstellungen bestimmen die Audioeigenschaften.", -1, 17, 48, 200, 14 + LTEXT "&Tiefen:", -1, 17, 62, 50, 8 + LTEXT "Niedrig", IDC_ADV_BASS_LOW, 70, 62, 23, 8 + LTEXT "Hoch", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Höhen:", -1, 17, 90, 50, 8 + LTEXT "Niedrig", IDC_ADV_TREBLE_LOW, 70, 90, 23, 8 + LTEXT "Hoch", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Andere Einstellungen", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "Diese Einstellungen verändern zusätzlich die Audioeigenschaften. Weitere Informationen finden Sie in der Hardwaredokumentation.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Schließen", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/el-GR.rc b/base/applications/sndvol32/lang/el-GR.rc index c41ff9a9e3..971c5e4daa 100644 --- a/base/applications/sndvol32/lang/el-GR.rc +++ b/base/applications/sndvol32/lang/el-GR.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/en-US.rc b/base/applications/sndvol32/lang/en-US.rc index 2edad91f02..375bd56b2e 100644 --- a/base/applications/sndvol32/lang/en-US.rc +++ b/base/applications/sndvol32/lang/en-US.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/es-ES.rc b/base/applications/sndvol32/lang/es-ES.rc index 21af78d59e..2fb63be640 100644 --- a/base/applications/sndvol32/lang/es-ES.rc +++ b/base/applications/sndvol32/lang/es-ES.rc @@ -119,21 +119,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/fr-FR.rc b/base/applications/sndvol32/lang/fr-FR.rc index 97e687331b..76cd77e406 100644 --- a/base/applications/sndvol32/lang/fr-FR.rc +++ b/base/applications/sndvol32/lang/fr-FR.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/he-IL.rc b/base/applications/sndvol32/lang/he-IL.rc index 581e3c9001..aa1214546d 100644 --- a/base/applications/sndvol32/lang/he-IL.rc +++ b/base/applications/sndvol32/lang/he-IL.rc @@ -123,21 +123,21 @@ EXSTYLE WS_EX_LAYOUTRTL CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/hu-HU.rc b/base/applications/sndvol32/lang/hu-HU.rc index 233955a01c..bd294b2833 100644 --- a/base/applications/sndvol32/lang/hu-HU.rc +++ b/base/applications/sndvol32/lang/hu-HU.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/id-ID.rc b/base/applications/sndvol32/lang/id-ID.rc index 223944a447..219ddd195c 100644 --- a/base/applications/sndvol32/lang/id-ID.rc +++ b/base/applications/sndvol32/lang/id-ID.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/it-IT.rc b/base/applications/sndvol32/lang/it-IT.rc index 469f854bb4..af0a89a380 100644 --- a/base/applications/sndvol32/lang/it-IT.rc +++ b/base/applications/sndvol32/lang/it-IT.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/ja-JP.rc b/base/applications/sndvol32/lang/ja-JP.rc index 3c15fec875..dad4224b7c 100644 --- a/base/applications/sndvol32/lang/ja-JP.rc +++ b/base/applications/sndvol32/lang/ja-JP.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 9, "MS UI Gothic" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/ko-KR.rc b/base/applications/sndvol32/lang/ko-KR.rc index 07c8e5a666..b8503c73be 100644 --- a/base/applications/sndvol32/lang/ko-KR.rc +++ b/base/applications/sndvol32/lang/ko-KR.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 9, "굴림" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/lt-LT.rc b/base/applications/sndvol32/lang/lt-LT.rc index 28b3749811..ba45ee99af 100644 --- a/base/applications/sndvol32/lang/lt-LT.rc +++ b/base/applications/sndvol32/lang/lt-LT.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/nl-NL.rc b/base/applications/sndvol32/lang/nl-NL.rc index f6ef4fb1d9..cf0f036b57 100644 --- a/base/applications/sndvol32/lang/nl-NL.rc +++ b/base/applications/sndvol32/lang/nl-NL.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/no-NO.rc b/base/applications/sndvol32/lang/no-NO.rc index a60735c06a..dd31f8b83f 100644 --- a/base/applications/sndvol32/lang/no-NO.rc +++ b/base/applications/sndvol32/lang/no-NO.rc @@ -116,21 +116,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/pl-PL.rc b/base/applications/sndvol32/lang/pl-PL.rc index 09bc2dedb2..bc0a5d19b5 100644 --- a/base/applications/sndvol32/lang/pl-PL.rc +++ b/base/applications/sndvol32/lang/pl-PL.rc @@ -3,7 +3,7 @@ * testament(a)users.sourceforge.net *
https://sourceforge.net/projects/reactospl
* Update by Caemyr - Olaf Siejka (Apr, 2011) - * UTF-8 conversion by Caemyr (May, 2011) + * UTF-8 conversion by Caemyr (May, 2011) */ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT @@ -124,21 +124,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/pt-BR.rc b/base/applications/sndvol32/lang/pt-BR.rc index e4f9d42b52..6b6390bc73 100644 --- a/base/applications/sndvol32/lang/pt-BR.rc +++ b/base/applications/sndvol32/lang/pt-BR.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/ro-RO.rc b/base/applications/sndvol32/lang/ro-RO.rc index e672018bc3..11732a26a2 100644 --- a/base/applications/sndvol32/lang/ro-RO.rc +++ b/base/applications/sndvol32/lang/ro-RO.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/ru-RU.rc b/base/applications/sndvol32/lang/ru-RU.rc index 73b593838d..31695b56b9 100644 --- a/base/applications/sndvol32/lang/ru-RU.rc +++ b/base/applications/sndvol32/lang/ru-RU.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Дополнительные параметры громкости" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "Данные параметры позволят произвести точную подстройку звучания.", -1, 44, 7, 200, 32 - GROUPBOX "Настройка тональности", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "Эти настройки управляют тональностью аудио.", -1, 17, 48, 200, 14 - LTEXT "&Низкие частоты:", -1, 17, 62, 50, 16 - LTEXT "Слабее", IDC_ADV_BASS_LOW, 73, 62, 24, 8 - LTEXT "Сильнее", IDC_ADV_BASS_HIGH, 180, 62, 28, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Высокие частоты:", -1, 17, 90, 50, 16 - LTEXT "Слабее", IDC_ADV_TREBLE_LOW, 73, 90, 24, 8 - LTEXT "Сильнее", IDC_ADV_TREBLE_HIGH, 180, 90, 28, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Другие настройки", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "Эти настройки управляют другими возможностями. Подробнее смотрите в документации вашего оборудования.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "Данные параметры позволят произвести точную подстройку звучания.", -1, 44, 7, 200, 32 + GROUPBOX "Настройка тональности", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "Эти настройки управляют тональностью аудио.", -1, 17, 48, 200, 14 + LTEXT "&Низкие частоты:", -1, 17, 62, 50, 16 + LTEXT "Слабее", IDC_ADV_BASS_LOW, 73, 62, 24, 8 + LTEXT "Сильнее", IDC_ADV_BASS_HIGH, 180, 62, 28, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Высокие частоты:", -1, 17, 90, 50, 16 + LTEXT "Слабее", IDC_ADV_TREBLE_LOW, 73, 90, 24, 8 + LTEXT "Сильнее", IDC_ADV_TREBLE_HIGH, 180, 90, 28, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Другие настройки", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "Эти настройки управляют другими возможностями. Подробнее смотрите в документации вашего оборудования.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Закрыть", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/sk-SK.rc b/base/applications/sndvol32/lang/sk-SK.rc index fc572889c7..3ec09dc2d6 100644 --- a/base/applications/sndvol32/lang/sk-SK.rc +++ b/base/applications/sndvol32/lang/sk-SK.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/sq-AL.rc b/base/applications/sndvol32/lang/sq-AL.rc index b3431285e1..6f8474f0da 100644 --- a/base/applications/sndvol32/lang/sq-AL.rc +++ b/base/applications/sndvol32/lang/sq-AL.rc @@ -1,4 +1,4 @@ -/* TRANSLATOR : Ardit Dani (Ard1t) (ardit.dani(a)gmail.com) +/* TRANSLATOR : Ardit Dani (Ard1t) (ardit.dani(a)gmail.com) * DATE OF TR: 29-11-2013 */ @@ -120,21 +120,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/sv-SE.rc b/base/applications/sndvol32/lang/sv-SE.rc index 85e263cd56..892dfc056a 100644 --- a/base/applications/sndvol32/lang/sv-SE.rc +++ b/base/applications/sndvol32/lang/sv-SE.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/th-TH.rc b/base/applications/sndvol32/lang/th-TH.rc index 91250a4ea5..00b952e041 100644 --- a/base/applications/sndvol32/lang/th-TH.rc +++ b/base/applications/sndvol32/lang/th-TH.rc @@ -124,21 +124,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/tr-TR.rc b/base/applications/sndvol32/lang/tr-TR.rc index fad7712293..7038fc92b9 100644 --- a/base/applications/sndvol32/lang/tr-TR.rc +++ b/base/applications/sndvol32/lang/tr-TR.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/uk-UA.rc b/base/applications/sndvol32/lang/uk-UA.rc index 1641abee0b..83b459f05f 100644 --- a/base/applications/sndvol32/lang/uk-UA.rc +++ b/base/applications/sndvol32/lang/uk-UA.rc @@ -124,21 +124,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 8, "MS Shell Dlg" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/zh-CN.rc b/base/applications/sndvol32/lang/zh-CN.rc index 2e7b539672..e7e130c9bf 100644 --- a/base/applications/sndvol32/lang/zh-CN.rc +++ b/base/applications/sndvol32/lang/zh-CN.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 9, "宋体" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END diff --git a/base/applications/sndvol32/lang/zh-TW.rc b/base/applications/sndvol32/lang/zh-TW.rc index 7de3a8eba2..ac2f02c580 100644 --- a/base/applications/sndvol32/lang/zh-TW.rc +++ b/base/applications/sndvol32/lang/zh-TW.rc @@ -118,21 +118,21 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS CAPTION "Advanced Controls for Volume Control" FONT 9, "新細明體" BEGIN - CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 - LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 - GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 - LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 - LTEXT "&Bass:", -1, 17, 62, 50, 8 - LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 - LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 - LTEXT "&Treble:", -1, 17, 90, 50, 8 - LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 - LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 - GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 - LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 - AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 - AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 + CONTROL IDI_MAINAPP, -1, "static", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 32, 32 + LTEXT "These settings can be used to make fine adjustments to your audio.", -1, 44, 7, 200, 32 + GROUPBOX "Tone Controls", IDC_ADV_TONE_CONTROLS, 7, 33, 240, 80 + LTEXT "These settings control how the tone of your audio sounds.", -1, 17, 48, 200, 14 + LTEXT "&Bass:", -1, 17, 62, 50, 8 + LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 + LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + LTEXT "&Treble:", -1, 17, 90, 50, 8 + LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 + LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 + LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 + AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 + AUTOCHECKBOX "&2 ", IDC_ADV_OTHER_CHECK2, 17, 174, 220, 14 DEFPUSHBUTTON "Close", IDOK, 197, 120, 50, 14, WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP END
5 years, 10 months
1
0
0
0
[reactos] 01/02: [SNDVOL32] Resize the dialog and groupbox when there are two 'Other Controls'
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fba5a8fcdbe119ef0eb66…
commit fba5a8fcdbe119ef0eb66cba2f189bf5d39af3ff Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sat Feb 23 17:21:25 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sat Feb 23 17:27:42 2019 +0100 [SNDVOL32] Resize the dialog and groupbox when there are two 'Other Controls' --- base/applications/sndvol32/advanced.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/base/applications/sndvol32/advanced.c b/base/applications/sndvol32/advanced.c index 1274912501..a4f055f18f 100644 --- a/base/applications/sndvol32/advanced.c +++ b/base/applications/sndvol32/advanced.c @@ -109,7 +109,7 @@ OnInitDialog( } } - /* free controls */ + /* Free controls */ HeapFree(GetProcessHeap(), 0, Control); } @@ -122,7 +122,7 @@ OnInitDialog( /* Resize the dialog */ GetWindowRect(hwndDlg, &rect); - dy = MulDiv(73, Context->MixerWindow->baseUnit.cy, 8); + dy = MulDiv((dwOtherControls == 1) ? 73 : (73 + 15), Context->MixerWindow->baseUnit.cy, 8); rect.bottom += dy; SetWindowPos(hwndDlg, HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOZORDER); @@ -135,6 +135,18 @@ OnInitDialog( rect.bottom += dy; SetWindowPos(GetDlgItem(hwndDlg, IDOK), HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOSIZE | SWP_NOZORDER); + + if (dwOtherControls == 2) + { + /* Resize the 'Other Controls' groupbox */ + GetWindowRect(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), &rect); + MapWindowPoints(HWND_DESKTOP, hwndDlg, (LPPOINT)&rect, 2); + + dy = MulDiv(15, Context->MixerWindow->baseUnit.cy, 8); + rect.bottom += dy; + + SetWindowPos(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOZORDER); + } } }
5 years, 10 months
1
0
0
0
[reactos] 01/01: [WS2_32] Use SEH in WSCGetProviderPath()
by Pierre Schweitzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d1598788cdf827ce5616d…
commit d1598788cdf827ce5616d545d2a96f6aa41e2ed1 Author: Pierre Schweitzer <pierre(a)reactos.org> AuthorDate: Sat Feb 23 13:34:28 2019 +0100 Commit: Pierre Schweitzer <pierre(a)reactos.org> CommitDate: Sat Feb 23 13:35:07 2019 +0100 [WS2_32] Use SEH in WSCGetProviderPath() --- dll/win32/ws2_32/src/enumprot.c | 68 +++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 30 deletions(-) diff --git a/dll/win32/ws2_32/src/enumprot.c b/dll/win32/ws2_32/src/enumprot.c index a47b290104..be1ff596cc 100644 --- a/dll/win32/ws2_32/src/enumprot.c +++ b/dll/win32/ws2_32/src/enumprot.c @@ -350,52 +350,60 @@ WSCGetProviderPath(IN LPGUID lpProviderId, /* Get the catalog */ Catalog = WsProcGetNsCatalog(Process); - /* Setup the context */ - Context.ProviderId = *lpProviderId; - Context.ProviderDllPath = lpszProviderDllPath; - Context.ProviderDllPathLen = *lpProviderDllPathLen; - Context.FoundPathLen = 0; - Context.Found = 0; - Context.ErrorCode = ERROR_SUCCESS; + _SEH2_TRY + { + /* Setup the context */ + Context.ProviderId = *lpProviderId; + Context.ProviderDllPath = lpszProviderDllPath; + Context.ProviderDllPathLen = *lpProviderDllPathLen; + Context.FoundPathLen = 0; + Context.Found = 0; + Context.ErrorCode = ERROR_SUCCESS; - ErrorCode = ERROR_SUCCESS; + ErrorCode = ERROR_SUCCESS; - /* Enumerate the catalog */ - WsNcEnumerateCatalogItems(Catalog, ProviderEnumerationProc, &Context); + /* Enumerate the catalog */ + WsNcEnumerateCatalogItems(Catalog, ProviderEnumerationProc, &Context); - /* Check the error code */ - if (Context.ErrorCode == ERROR_SUCCESS) - { - /* Check if provider was found */ - if (Context.Found) + /* Check the error code */ + if (Context.ErrorCode == ERROR_SUCCESS) { - PathLen = Context.FoundPathLen; - - /* Check whether buffer is too small - * If it isn't, return length without null char - * (see ProviderEnumerationProc) - */ - if (Context.FoundPathLen <= *lpProviderDllPathLen) + /* Check if provider was found */ + if (Context.Found) { - PathLen = Context.FoundPathLen - 1; + PathLen = Context.FoundPathLen; + + /* Check whether buffer is too small + * If it isn't, return length without null char + * (see ProviderEnumerationProc) + */ + if (Context.FoundPathLen <= *lpProviderDllPathLen) + { + PathLen = Context.FoundPathLen - 1; + } + else + { + ErrorCode = WSAEFAULT; + } + + /* Set returned/required length */ + *lpProviderDllPathLen = PathLen; } else { - ErrorCode = WSAEFAULT; + ErrorCode = WSAEINVAL; } - - /* Set returned/required length */ - *lpProviderDllPathLen = PathLen; } else { - ErrorCode = WSAEINVAL; + ErrorCode = Context.ErrorCode; } } - else + _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) { - ErrorCode = Context.ErrorCode; + ErrorCode = WSAEFAULT; } + _SEH2_END; /* Do we have to return failure? */ if (ErrorCode != ERROR_SUCCESS)
5 years, 10 months
1
0
0
0
[reactos] 01/01: [SNDVOL32] Advanced Controls dialog: Initialize the Other Controls
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2e797accd3c391c072f7a…
commit 2e797accd3c391c072f7a1c0eca8cd078dc2c820 Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sat Feb 23 12:51:14 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sat Feb 23 12:53:05 2019 +0100 [SNDVOL32] Advanced Controls dialog: Initialize the Other Controls --- base/applications/sndvol32/advanced.c | 62 ++++++++++++++++++++++++++++++----- base/applications/sndvol32/sndvol32.c | 9 ++--- base/applications/sndvol32/sndvol32.h | 1 + 3 files changed, 60 insertions(+), 12 deletions(-) diff --git a/base/applications/sndvol32/advanced.c b/base/applications/sndvol32/advanced.c index 598cacff8d..1274912501 100644 --- a/base/applications/sndvol32/advanced.c +++ b/base/applications/sndvol32/advanced.c @@ -13,16 +13,20 @@ OnInitDialog( HWND hwndDlg, PADVANCED_CONTEXT Context) { - WCHAR szRawTitle[256], szCookedTitle[256]; MIXERCONTROLDETAILS_UNSIGNED UnsignedDetails; + MIXERCONTROLDETAILS_BOOLEAN BooleanDetails; + WCHAR szRawBuffer[256], szCookedBuffer[256]; LPMIXERCONTROL Control = NULL; UINT ControlCount = 0, Index; DWORD i, dwStep, dwPosition; + DWORD dwOtherControls = 0; + RECT rect; + LONG dy; /* Set the dialog title */ - LoadStringW(hAppInstance, IDS_ADVANCED_CONTROLS, szRawTitle, ARRAYSIZE(szRawTitle)); - StringCchPrintfW(szCookedTitle, ARRAYSIZE(szCookedTitle), szRawTitle, Context->LineName); - SetWindowTextW(hwndDlg, szCookedTitle); + LoadStringW(hAppInstance, IDS_ADVANCED_CONTROLS, szRawBuffer, ARRAYSIZE(szRawBuffer)); + StringCchPrintfW(szCookedBuffer, ARRAYSIZE(szCookedBuffer), szRawBuffer, Context->LineName); + SetWindowTextW(hwndDlg, szCookedBuffer); /* Disable the tone controls */ for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) @@ -56,6 +60,8 @@ OnInitDialog( { if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_BASS) { + /* Bass control */ + if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) { for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_BASS_SLIDER; i++) @@ -68,6 +74,8 @@ OnInitDialog( } else if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_TREBLE) { + /* Treble control */ + if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) { for (i = IDC_ADV_TREBLE_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) @@ -78,18 +86,56 @@ OnInitDialog( SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETPOS, (WPARAM)TRUE, dwPosition); } } - else if (Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_VOLUME && - Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_MUTE) + else if (((Control[Index].dwControlType & (MIXERCONTROL_CT_CLASS_MASK | MIXERCONTROL_CT_SUBCLASS_MASK | MIXERCONTROL_CT_UNITS_MASK)) == MIXERCONTROL_CONTROLTYPE_BOOLEAN) && + (Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_MUTE)) { - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), SW_SHOWNORMAL); - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_TEXT), SW_SHOWNORMAL); + /* All boolean controls but the Mute control (Maximum of 2) */ + + if (dwOtherControls < 2) + { + if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_BOOLEAN), (LPVOID)&BooleanDetails) != -1) + { + LoadStringW(hAppInstance, IDS_OTHER_CONTROLS1 + dwOtherControls, szRawBuffer, ARRAYSIZE(szRawBuffer)); + StringCchPrintfW(szCookedBuffer, ARRAYSIZE(szCookedBuffer), szRawBuffer, Control[Index].szName); + SetWindowTextW(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CHECK1 + dwOtherControls), szCookedBuffer); + ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CHECK1 + dwOtherControls), SW_SHOWNORMAL); + + SendDlgItemMessageW(hwndDlg, IDC_ADV_OTHER_CHECK1 + dwOtherControls, BM_SETCHECK, (WPARAM)BooleanDetails.fValue, 0); + + dwOtherControls++; + } + } } } /* free controls */ HeapFree(GetProcessHeap(), 0, Control); } + + if (dwOtherControls != 0) + { + /* Show the 'Other controls' groupbox and text */ + ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), SW_SHOWNORMAL); + ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_TEXT), SW_SHOWNORMAL); + + /* Resize the dialog */ + GetWindowRect(hwndDlg, &rect); + + dy = MulDiv(73, Context->MixerWindow->baseUnit.cy, 8); + rect.bottom += dy; + + SetWindowPos(hwndDlg, HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOMOVE | SWP_NOZORDER); + + /* Move the 'Close' button down */ + GetWindowRect(GetDlgItem(hwndDlg, IDOK), &rect); + MapWindowPoints(HWND_DESKTOP, hwndDlg, (LPPOINT)&rect, 2); + + rect.top += dy; + rect.bottom += dy; + + SetWindowPos(GetDlgItem(hwndDlg, IDOK), HWND_TOP, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, SWP_NOSIZE | SWP_NOZORDER); + } } diff --git a/base/applications/sndvol32/sndvol32.c b/base/applications/sndvol32/sndvol32.c index 8398151ed0..9a5578dc96 100644 --- a/base/applications/sndvol32/sndvol32.c +++ b/base/applications/sndvol32/sndvol32.c @@ -658,7 +658,7 @@ SetVolumeCallback(PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVOID Ctx) { if (Context->bVertical) { - if ((Control[Index].dwControlType & MIXERCONTROL_CT_CLASS_MASK) == MIXERCONTROL_CT_CLASS_FADER) + if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_VOLUME) { DWORD LineOffset, volumePosition, balancePosition; DWORD volumeStep, balanceStep; @@ -724,7 +724,7 @@ SetVolumeCallback(PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVOID Ctx) } else if (Context->bSwitch) { - if ((Control[Index].dwControlType & MIXERCONTROL_CT_CLASS_MASK) == MIXERCONTROL_CT_CLASS_SWITCH) + if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_MUTE) { /* set up details */ bDetails.fValue = Context->SliderPos; @@ -783,7 +783,7 @@ MixerControlChangeCallback(PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVO { if (Control[Index].dwControlID == PtrToUlong(Context)) { - if ((Control[Index].dwControlType & MIXERCONTROL_CT_CLASS_MASK) == MIXERCONTROL_CT_CLASS_SWITCH) + if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_MUTE) { MIXERCONTROLDETAILS_BOOLEAN Details; @@ -794,7 +794,7 @@ MixerControlChangeCallback(PSND_MIXER Mixer, DWORD LineID, LPMIXERLINE Line, PVO UpdateDialogLineSwitchControl(&Preferences, Line, Details.fValue); } } - else if ((Control[Index].dwControlType & MIXERCONTROL_CT_CLASS_MASK) == MIXERCONTROL_CT_CLASS_FADER) + else if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_VOLUME) { /* get volume control details */ if (SndMixerGetVolumeControlDetails(Preferences.MixerWindow->Mixer, Control[Index].dwControlID, Line->cChannels, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)pVolumeDetails) != -1) @@ -1025,6 +1025,7 @@ MainWindowProc(HWND hwnd, /* get line name */ if (GetDlgItemTextW(hwnd, CtrlID, AdvancedContext.LineName, MIXER_LONG_NAME_CHARS) != 0) { + AdvancedContext.MixerWindow = Preferences.MixerWindow; AdvancedContext.Mixer = Preferences.MixerWindow->Mixer; AdvancedContext.Line = SndMixerGetLineByName(Preferences.MixerWindow->Mixer, Preferences.SelectedLine, diff --git a/base/applications/sndvol32/sndvol32.h b/base/applications/sndvol32/sndvol32.h index e324584bc4..4dcf58bebb 100644 --- a/base/applications/sndvol32/sndvol32.h +++ b/base/applications/sndvol32/sndvol32.h @@ -127,6 +127,7 @@ typedef struct _SET_VOLUME_CONTEXT typedef struct _ADVANCED_CONTEXT { WCHAR LineName[MIXER_LONG_NAME_CHARS]; + PMIXER_WINDOW MixerWindow; PSND_MIXER Mixer; LPMIXERLINE Line; } ADVANCED_CONTEXT, *PADVANCED_CONTEXT;
5 years, 10 months
1
0
0
0
[reactos] 01/01: [WS2_32] Implement WSCGetProviderPath()
by Pierre Schweitzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=02e84521cc6dbab213192…
commit 02e84521cc6dbab2131927a87c81317fcf601116 Author: Pierre Schweitzer <pierre(a)reactos.org> AuthorDate: Sat Feb 23 10:57:06 2019 +0100 Commit: Pierre Schweitzer <pierre(a)reactos.org> CommitDate: Sat Feb 23 10:57:30 2019 +0100 [WS2_32] Implement WSCGetProviderPath() --- dll/win32/ws2_32/inc/ws2_32p.h | 10 ++++ dll/win32/ws2_32/src/enumprot.c | 116 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 122 insertions(+), 4 deletions(-) diff --git a/dll/win32/ws2_32/inc/ws2_32p.h b/dll/win32/ws2_32/inc/ws2_32p.h index 5e7f5d6782..968c6ce7b8 100644 --- a/dll/win32/ws2_32/inc/ws2_32p.h +++ b/dll/win32/ws2_32/inc/ws2_32p.h @@ -232,6 +232,16 @@ typedef struct _PROTOCOL_ENUM_CONTEXT INT ErrorCode; } PROTOCOL_ENUM_CONTEXT, *PPROTOCOL_ENUM_CONTEXT; +typedef struct _PROVIDER_ENUM_CONTEXT +{ + GUID ProviderId; + LPWSTR ProviderDllPath; + INT ProviderDllPathLen; + DWORD FoundPathLen; + DWORD Found; + INT ErrorCode; +} PROVIDER_ENUM_CONTEXT, *PPROVIDER_ENUM_CONTEXT; + typedef struct _WS_BUFFER { ULONG_PTR Position; diff --git a/dll/win32/ws2_32/src/enumprot.c b/dll/win32/ws2_32/src/enumprot.c index 4d04ea30f5..a47b290104 100644 --- a/dll/win32/ws2_32/src/enumprot.c +++ b/dll/win32/ws2_32/src/enumprot.c @@ -4,6 +4,7 @@ * FILE: dll/win32/ws2_32_new/src/enumprot.c * PURPOSE: Protocol Enumeration * PROGRAMMER: Alex Ionescu (alex(a)relsoft.net) + * Pierre Schweitzer */ /* INCLUDES ******************************************************************/ @@ -98,6 +99,39 @@ ProtocolEnumerationProc(PVOID EnumContext, return TRUE; } +BOOL +WSAAPI +ProviderEnumerationProc(PVOID EnumContext, + PNSCATALOG_ENTRY Entry) +{ + INT PathLen; + PPROVIDER_ENUM_CONTEXT Context = (PPROVIDER_ENUM_CONTEXT)EnumContext; + + /* Check if this provider matches */ + if (IsEqualGUID(&Entry->ProviderId, &Context->ProviderId)) + { + /* Get the information about the provider */ + PathLen = wcslen(Entry->DllPath) + 1; + Context->FoundPathLen = PathLen; + Context->Found = 1; + + /* If we have enough room, copy path */ + if (PathLen <= Context->ProviderDllPathLen) + { + wcscpy(Context->ProviderDllPath, Entry->DllPath); + } + + /* Stop enumeration */ + return FALSE; + } + else + { + /* Continue enumeration */ + return TRUE; + } + +} + PTCATALOG WSAAPI OpenInitializedCatalog(VOID) @@ -284,7 +318,7 @@ WSAProviderConfigChange(IN OUT LPHANDLE lpNotificationHandle, } /* - * @unimplemented + * @implemented */ INT WSPAPI @@ -293,8 +327,82 @@ WSCGetProviderPath(IN LPGUID lpProviderId, IN OUT LPINT lpProviderDllPathLen, OUT LPINT lpErrno) { + PWSTHREAD Thread; + PWSPROCESS Process; + PNSCATALOG Catalog; + INT ErrorCode, PathLen; + PROVIDER_ENUM_CONTEXT Context; + DPRINT("WSCGetProviderPath: %p %p %p %p\n", lpProviderId, lpszProviderDllPath, lpProviderDllPathLen, lpErrno); - UNIMPLEMENTED; - SetLastError(WSAEINVAL); - return SOCKET_ERROR; + + /* Enter prolog */ + if ((ErrorCode = WsApiProlog(&Process, &Thread)) != ERROR_SUCCESS) + { + /* FIXME: if WSANOTINITIALISED, we should init + * and perform the search! + */ + + /* Leave now */ + *lpErrno = ErrorCode; + return SOCKET_ERROR; + } + + /* Get the catalog */ + Catalog = WsProcGetNsCatalog(Process); + + /* Setup the context */ + Context.ProviderId = *lpProviderId; + Context.ProviderDllPath = lpszProviderDllPath; + Context.ProviderDllPathLen = *lpProviderDllPathLen; + Context.FoundPathLen = 0; + Context.Found = 0; + Context.ErrorCode = ERROR_SUCCESS; + + ErrorCode = ERROR_SUCCESS; + + /* Enumerate the catalog */ + WsNcEnumerateCatalogItems(Catalog, ProviderEnumerationProc, &Context); + + /* Check the error code */ + if (Context.ErrorCode == ERROR_SUCCESS) + { + /* Check if provider was found */ + if (Context.Found) + { + PathLen = Context.FoundPathLen; + + /* Check whether buffer is too small + * If it isn't, return length without null char + * (see ProviderEnumerationProc) + */ + if (Context.FoundPathLen <= *lpProviderDllPathLen) + { + PathLen = Context.FoundPathLen - 1; + } + else + { + ErrorCode = WSAEFAULT; + } + + /* Set returned/required length */ + *lpProviderDllPathLen = PathLen; + } + else + { + ErrorCode = WSAEINVAL; + } + } + else + { + ErrorCode = Context.ErrorCode; + } + + /* Do we have to return failure? */ + if (ErrorCode != ERROR_SUCCESS) + { + *lpErrno = ErrorCode; + return SOCKET_ERROR; + } + + return 0; }
5 years, 10 months
1
0
0
0
[reactos] 01/01: [SNDVOL32] Advanced controls dialog: Remove the TBS_AUTOTICKS style from the trackbars and initialize them properly.
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4ba3c904a85ccdc2406af…
commit 4ba3c904a85ccdc2406af94c048575df63b17dd2 Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Fri Feb 22 23:33:47 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Fri Feb 22 23:33:47 2019 +0100 [SNDVOL32] Advanced controls dialog: Remove the TBS_AUTOTICKS style from the trackbars and initialize them properly. --- base/applications/sndvol32/advanced.c | 47 ++++++++++++++++++++++++++------ base/applications/sndvol32/lang/bg-BG.rc | 4 +-- base/applications/sndvol32/lang/cs-CZ.rc | 4 +-- base/applications/sndvol32/lang/de-DE.rc | 4 +-- base/applications/sndvol32/lang/el-GR.rc | 4 +-- base/applications/sndvol32/lang/en-US.rc | 4 +-- base/applications/sndvol32/lang/es-ES.rc | 4 +-- base/applications/sndvol32/lang/fr-FR.rc | 4 +-- base/applications/sndvol32/lang/he-IL.rc | 4 +-- base/applications/sndvol32/lang/hu-HU.rc | 4 +-- base/applications/sndvol32/lang/id-ID.rc | 4 +-- base/applications/sndvol32/lang/it-IT.rc | 4 +-- base/applications/sndvol32/lang/ja-JP.rc | 4 +-- base/applications/sndvol32/lang/ko-KR.rc | 4 +-- base/applications/sndvol32/lang/lt-LT.rc | 4 +-- base/applications/sndvol32/lang/nl-NL.rc | 4 +-- base/applications/sndvol32/lang/no-NO.rc | 4 +-- base/applications/sndvol32/lang/pl-PL.rc | 4 +-- base/applications/sndvol32/lang/pt-BR.rc | 4 +-- base/applications/sndvol32/lang/ro-RO.rc | 4 +-- base/applications/sndvol32/lang/ru-RU.rc | 4 +-- base/applications/sndvol32/lang/sk-SK.rc | 4 +-- base/applications/sndvol32/lang/sq-AL.rc | 4 +-- base/applications/sndvol32/lang/sv-SE.rc | 4 +-- base/applications/sndvol32/lang/th-TH.rc | 4 +-- base/applications/sndvol32/lang/tr-TR.rc | 4 +-- base/applications/sndvol32/lang/uk-UA.rc | 4 +-- base/applications/sndvol32/lang/zh-CN.rc | 4 +-- base/applications/sndvol32/lang/zh-TW.rc | 4 +-- 29 files changed, 95 insertions(+), 64 deletions(-) diff --git a/base/applications/sndvol32/advanced.c b/base/applications/sndvol32/advanced.c index 34d1d62093..598cacff8d 100644 --- a/base/applications/sndvol32/advanced.c +++ b/base/applications/sndvol32/advanced.c @@ -14,12 +14,13 @@ OnInitDialog( PADVANCED_CONTEXT Context) { WCHAR szRawTitle[256], szCookedTitle[256]; + MIXERCONTROLDETAILS_UNSIGNED UnsignedDetails; LPMIXERCONTROL Control = NULL; - UINT ControlCount = 0, Index, i; + UINT ControlCount = 0, Index; + DWORD i, dwStep, dwPosition; /* Set the dialog title */ LoadStringW(hAppInstance, IDS_ADVANCED_CONTROLS, szRawTitle, ARRAYSIZE(szRawTitle)); -// swprintf(szCookedTitle, szRawTitle, Context->LineName); StringCchPrintfW(szCookedTitle, ARRAYSIZE(szCookedTitle), szRawTitle, Context->LineName); SetWindowTextW(hwndDlg, szCookedTitle); @@ -27,6 +28,24 @@ OnInitDialog( for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) EnableWindow(GetDlgItem(hwndDlg, i), FALSE); + /* Initialize the bass and treble trackbars */ + SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); + SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); + SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETPAGESIZE, 0, (LPARAM)VOLUME_PAGE_SIZE); + SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETPAGESIZE, 0, (LPARAM)VOLUME_PAGE_SIZE); + SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)0); + SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)0); + + /* Calculate and set ticks */ + dwStep = (VOLUME_MAX / (VOLUME_TICKS + 1)); + if (VOLUME_MAX % (VOLUME_TICKS + 1) != 0) + dwStep++; + for (i = dwStep; i < VOLUME_MAX; i += dwStep) + { + SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETTIC, 0, (LPARAM)i); + SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETTIC, 0, (LPARAM)i); + } + /* Hide the other controls */ for (i = IDC_ADV_OTHER_CONTROLS; i<= IDC_ADV_OTHER_CHECK2; i++) ShowWindow(GetDlgItem(hwndDlg, i), SW_HIDE); @@ -37,15 +56,27 @@ OnInitDialog( { if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_BASS) { - for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_BASS_SLIDER; i++) - EnableWindow(GetDlgItem(hwndDlg, i), TRUE); - + if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) + { + for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_BASS_SLIDER; i++) + EnableWindow(GetDlgItem(hwndDlg, i), TRUE); + + dwStep = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); + dwPosition = (UnsignedDetails.dwValue - Control[Index].Bounds.dwMinimum) / dwStep; + SendDlgItemMessageW(hwndDlg, IDC_ADV_BASS_SLIDER, TBM_SETPOS, (WPARAM)TRUE, dwPosition); + } } else if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_TREBLE) { - for (i = IDC_ADV_TREBLE_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) - EnableWindow(GetDlgItem(hwndDlg, i), TRUE); - + if (SndMixerGetVolumeControlDetails(Context->Mixer, Control[Index].dwControlID, 1, sizeof(MIXERCONTROLDETAILS_UNSIGNED), (LPVOID)&UnsignedDetails) != -1) + { + for (i = IDC_ADV_TREBLE_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) + EnableWindow(GetDlgItem(hwndDlg, i), TRUE); + + dwStep = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); + dwPosition = (UnsignedDetails.dwValue - Control[Index].Bounds.dwMinimum) / dwStep; + SendDlgItemMessageW(hwndDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETPOS, (WPARAM)TRUE, dwPosition); + } } else if (Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_VOLUME && Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_MUTE) diff --git a/base/applications/sndvol32/lang/bg-BG.rc b/base/applications/sndvol32/lang/bg-BG.rc index 2dbe8d98ec..82ce984a1e 100644 --- a/base/applications/sndvol32/lang/bg-BG.rc +++ b/base/applications/sndvol32/lang/bg-BG.rc @@ -127,11 +127,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/cs-CZ.rc b/base/applications/sndvol32/lang/cs-CZ.rc index db619d7bde..1699735f3f 100644 --- a/base/applications/sndvol32/lang/cs-CZ.rc +++ b/base/applications/sndvol32/lang/cs-CZ.rc @@ -129,11 +129,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/de-DE.rc b/base/applications/sndvol32/lang/de-DE.rc index 8e03fd2f8e..9edb833e09 100644 --- a/base/applications/sndvol32/lang/de-DE.rc +++ b/base/applications/sndvol32/lang/de-DE.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Tiefen:", -1, 17, 62, 50, 8 LTEXT "Niedrig", IDC_ADV_BASS_LOW, 70, 62, 23, 8 LTEXT "Hoch", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Höhen:", -1, 17, 90, 50, 8 LTEXT "Niedrig", IDC_ADV_TREBLE_LOW, 70, 90, 23, 8 LTEXT "Hoch", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Andere Einstellungen", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "Diese Einstellungen verändern zusätzlich die Audioeigenschaften. Weitere Informationen finden Sie in der Hardwaredokumentation.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/el-GR.rc b/base/applications/sndvol32/lang/el-GR.rc index 31d62ec445..c41ff9a9e3 100644 --- a/base/applications/sndvol32/lang/el-GR.rc +++ b/base/applications/sndvol32/lang/el-GR.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/en-US.rc b/base/applications/sndvol32/lang/en-US.rc index 136684d476..2edad91f02 100644 --- a/base/applications/sndvol32/lang/en-US.rc +++ b/base/applications/sndvol32/lang/en-US.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/es-ES.rc b/base/applications/sndvol32/lang/es-ES.rc index fa9de20175..21af78d59e 100644 --- a/base/applications/sndvol32/lang/es-ES.rc +++ b/base/applications/sndvol32/lang/es-ES.rc @@ -126,11 +126,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/fr-FR.rc b/base/applications/sndvol32/lang/fr-FR.rc index afd60f5d8d..97e687331b 100644 --- a/base/applications/sndvol32/lang/fr-FR.rc +++ b/base/applications/sndvol32/lang/fr-FR.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/he-IL.rc b/base/applications/sndvol32/lang/he-IL.rc index 0d9509730e..581e3c9001 100644 --- a/base/applications/sndvol32/lang/he-IL.rc +++ b/base/applications/sndvol32/lang/he-IL.rc @@ -130,11 +130,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/hu-HU.rc b/base/applications/sndvol32/lang/hu-HU.rc index 6de5aebc7f..233955a01c 100644 --- a/base/applications/sndvol32/lang/hu-HU.rc +++ b/base/applications/sndvol32/lang/hu-HU.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/id-ID.rc b/base/applications/sndvol32/lang/id-ID.rc index 466e5b7201..223944a447 100644 --- a/base/applications/sndvol32/lang/id-ID.rc +++ b/base/applications/sndvol32/lang/id-ID.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/it-IT.rc b/base/applications/sndvol32/lang/it-IT.rc index 2db5896c26..469f854bb4 100644 --- a/base/applications/sndvol32/lang/it-IT.rc +++ b/base/applications/sndvol32/lang/it-IT.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/ja-JP.rc b/base/applications/sndvol32/lang/ja-JP.rc index cf0eb203b0..3c15fec875 100644 --- a/base/applications/sndvol32/lang/ja-JP.rc +++ b/base/applications/sndvol32/lang/ja-JP.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/ko-KR.rc b/base/applications/sndvol32/lang/ko-KR.rc index cc4a57b5ae..07c8e5a666 100644 --- a/base/applications/sndvol32/lang/ko-KR.rc +++ b/base/applications/sndvol32/lang/ko-KR.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/lt-LT.rc b/base/applications/sndvol32/lang/lt-LT.rc index 84eec680ef..28b3749811 100644 --- a/base/applications/sndvol32/lang/lt-LT.rc +++ b/base/applications/sndvol32/lang/lt-LT.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/nl-NL.rc b/base/applications/sndvol32/lang/nl-NL.rc index d355838904..f6ef4fb1d9 100644 --- a/base/applications/sndvol32/lang/nl-NL.rc +++ b/base/applications/sndvol32/lang/nl-NL.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/no-NO.rc b/base/applications/sndvol32/lang/no-NO.rc index 27f53cede7..a60735c06a 100644 --- a/base/applications/sndvol32/lang/no-NO.rc +++ b/base/applications/sndvol32/lang/no-NO.rc @@ -123,11 +123,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/pl-PL.rc b/base/applications/sndvol32/lang/pl-PL.rc index 7a668740aa..09bc2dedb2 100644 --- a/base/applications/sndvol32/lang/pl-PL.rc +++ b/base/applications/sndvol32/lang/pl-PL.rc @@ -131,11 +131,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/pt-BR.rc b/base/applications/sndvol32/lang/pt-BR.rc index 08ca3743a3..e4f9d42b52 100644 --- a/base/applications/sndvol32/lang/pt-BR.rc +++ b/base/applications/sndvol32/lang/pt-BR.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/ro-RO.rc b/base/applications/sndvol32/lang/ro-RO.rc index d0973e5dce..e672018bc3 100644 --- a/base/applications/sndvol32/lang/ro-RO.rc +++ b/base/applications/sndvol32/lang/ro-RO.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/ru-RU.rc b/base/applications/sndvol32/lang/ru-RU.rc index c7f05d2d85..73b593838d 100644 --- a/base/applications/sndvol32/lang/ru-RU.rc +++ b/base/applications/sndvol32/lang/ru-RU.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Низкие частоты:", -1, 17, 62, 50, 16 LTEXT "Слабее", IDC_ADV_BASS_LOW, 73, 62, 24, 8 LTEXT "Сильнее", IDC_ADV_BASS_HIGH, 180, 62, 28, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Высокие частоты:", -1, 17, 90, 50, 16 LTEXT "Слабее", IDC_ADV_TREBLE_LOW, 73, 90, 24, 8 LTEXT "Сильнее", IDC_ADV_TREBLE_HIGH, 180, 90, 28, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Другие настройки", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "Эти настройки управляют другими возможностями. Подробнее смотрите в документации вашего оборудования.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/sk-SK.rc b/base/applications/sndvol32/lang/sk-SK.rc index 643de2db7f..fc572889c7 100644 --- a/base/applications/sndvol32/lang/sk-SK.rc +++ b/base/applications/sndvol32/lang/sk-SK.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/sq-AL.rc b/base/applications/sndvol32/lang/sq-AL.rc index f0fbba6994..b3431285e1 100644 --- a/base/applications/sndvol32/lang/sq-AL.rc +++ b/base/applications/sndvol32/lang/sq-AL.rc @@ -127,11 +127,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/sv-SE.rc b/base/applications/sndvol32/lang/sv-SE.rc index c91e57a47d..85e263cd56 100644 --- a/base/applications/sndvol32/lang/sv-SE.rc +++ b/base/applications/sndvol32/lang/sv-SE.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/th-TH.rc b/base/applications/sndvol32/lang/th-TH.rc index 3aab609547..91250a4ea5 100644 --- a/base/applications/sndvol32/lang/th-TH.rc +++ b/base/applications/sndvol32/lang/th-TH.rc @@ -131,11 +131,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/tr-TR.rc b/base/applications/sndvol32/lang/tr-TR.rc index a1ffaa4a88..fad7712293 100644 --- a/base/applications/sndvol32/lang/tr-TR.rc +++ b/base/applications/sndvol32/lang/tr-TR.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/uk-UA.rc b/base/applications/sndvol32/lang/uk-UA.rc index b887b77e28..1641abee0b 100644 --- a/base/applications/sndvol32/lang/uk-UA.rc +++ b/base/applications/sndvol32/lang/uk-UA.rc @@ -131,11 +131,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/zh-CN.rc b/base/applications/sndvol32/lang/zh-CN.rc index da632544fa..2e7b539672 100644 --- a/base/applications/sndvol32/lang/zh-CN.rc +++ b/base/applications/sndvol32/lang/zh-CN.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14 diff --git a/base/applications/sndvol32/lang/zh-TW.rc b/base/applications/sndvol32/lang/zh-TW.rc index 5f0e3b1d7a..7de3a8eba2 100644 --- a/base/applications/sndvol32/lang/zh-TW.rc +++ b/base/applications/sndvol32/lang/zh-TW.rc @@ -125,11 +125,11 @@ BEGIN LTEXT "&Bass:", -1, 17, 62, 50, 8 LTEXT "Low", IDC_ADV_BASS_LOW, 77, 62, 20, 8 LTEXT "High", IDC_ADV_BASS_HIGH, 182, 62, 20, 8 - CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 + CONTROL "", IDC_ADV_BASS_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 62, 80, 20 LTEXT "&Treble:", -1, 17, 90, 50, 8 LTEXT "Low", IDC_ADV_TREBLE_LOW, 77, 90, 20, 8 LTEXT "High", IDC_ADV_TREBLE_HIGH, 182, 90, 20, 8 - CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 + CONTROL "", IDC_ADV_TREBLE_SLIDER, "msctls_trackbar32", TBS_HORZ | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 90, 80, 20 GROUPBOX "Other Controls", IDC_ADV_OTHER_CONTROLS, 7, 119, 240, 66 LTEXT "These settings make other changes to how your audio sounds. See your hardware documentation for details.", IDC_ADV_OTHER_TEXT, 17, 135, 220, 28 AUTOCHECKBOX "&1 ", IDC_ADV_OTHER_CHECK1, 17, 159, 220, 14
5 years, 10 months
1
0
0
0
[reactos] 01/01: [SNDVOL32] Move the advanced controls dialog to a separate file and update its title on creation.
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=03c3dd5ab08ce66d6df1d…
commit 03c3dd5ab08ce66d6df1de3c2aa10ee98ee6fc96 Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Thu Feb 21 22:26:58 2019 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Thu Feb 21 22:27:44 2019 +0100 [SNDVOL32] Move the advanced controls dialog to a separate file and update its title on creation. --- base/applications/sndvol32/CMakeLists.txt | 1 + base/applications/sndvol32/advanced.c | 100 ++++++++++++++++++++++++++++++ base/applications/sndvol32/lang/bg-BG.rc | 4 ++ base/applications/sndvol32/lang/cs-CZ.rc | 4 ++ base/applications/sndvol32/lang/de-DE.rc | 4 ++ base/applications/sndvol32/lang/el-GR.rc | 4 ++ base/applications/sndvol32/lang/en-US.rc | 4 ++ base/applications/sndvol32/lang/es-ES.rc | 4 ++ base/applications/sndvol32/lang/fr-FR.rc | 4 ++ base/applications/sndvol32/lang/he-IL.rc | 4 ++ base/applications/sndvol32/lang/hu-HU.rc | 4 ++ base/applications/sndvol32/lang/id-ID.rc | 4 ++ base/applications/sndvol32/lang/it-IT.rc | 4 ++ base/applications/sndvol32/lang/ja-JP.rc | 4 ++ base/applications/sndvol32/lang/ko-KR.rc | 4 ++ base/applications/sndvol32/lang/lt-LT.rc | 4 ++ base/applications/sndvol32/lang/nl-NL.rc | 4 ++ base/applications/sndvol32/lang/no-NO.rc | 4 ++ base/applications/sndvol32/lang/pl-PL.rc | 4 ++ base/applications/sndvol32/lang/pt-BR.rc | 4 ++ base/applications/sndvol32/lang/ro-RO.rc | 4 ++ base/applications/sndvol32/lang/ru-RU.rc | 4 ++ base/applications/sndvol32/lang/sk-SK.rc | 4 ++ base/applications/sndvol32/lang/sq-AL.rc | 4 ++ base/applications/sndvol32/lang/sv-SE.rc | 4 ++ base/applications/sndvol32/lang/th-TH.rc | 4 ++ base/applications/sndvol32/lang/tr-TR.rc | 4 ++ base/applications/sndvol32/lang/uk-UA.rc | 4 ++ base/applications/sndvol32/lang/zh-CN.rc | 4 ++ base/applications/sndvol32/lang/zh-TW.rc | 4 ++ base/applications/sndvol32/mixer.c | 38 ++++++++++++ base/applications/sndvol32/resources.h | 8 ++- base/applications/sndvol32/sndvol32.c | 78 +++++++---------------- base/applications/sndvol32/sndvol32.h | 21 +++++++ 34 files changed, 300 insertions(+), 58 deletions(-) diff --git a/base/applications/sndvol32/CMakeLists.txt b/base/applications/sndvol32/CMakeLists.txt index dd1827368a..c6c757a0f4 100644 --- a/base/applications/sndvol32/CMakeLists.txt +++ b/base/applications/sndvol32/CMakeLists.txt @@ -1,5 +1,6 @@ list(APPEND SOURCE + advanced.c dialog.c misc.c mixer.c diff --git a/base/applications/sndvol32/advanced.c b/base/applications/sndvol32/advanced.c new file mode 100644 index 0000000000..34d1d62093 --- /dev/null +++ b/base/applications/sndvol32/advanced.c @@ -0,0 +1,100 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS Sound Volume Control + * FILE: base/applications/sndvol32/advanced.c + * PROGRAMMERS: Eric Kohl <eric.kohl(a)reactos.org> + */ + +#include "sndvol32.h" + +static +VOID +OnInitDialog( + HWND hwndDlg, + PADVANCED_CONTEXT Context) +{ + WCHAR szRawTitle[256], szCookedTitle[256]; + LPMIXERCONTROL Control = NULL; + UINT ControlCount = 0, Index, i; + + /* Set the dialog title */ + LoadStringW(hAppInstance, IDS_ADVANCED_CONTROLS, szRawTitle, ARRAYSIZE(szRawTitle)); +// swprintf(szCookedTitle, szRawTitle, Context->LineName); + StringCchPrintfW(szCookedTitle, ARRAYSIZE(szCookedTitle), szRawTitle, Context->LineName); + SetWindowTextW(hwndDlg, szCookedTitle); + + /* Disable the tone controls */ + for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) + EnableWindow(GetDlgItem(hwndDlg, i), FALSE); + + /* Hide the other controls */ + for (i = IDC_ADV_OTHER_CONTROLS; i<= IDC_ADV_OTHER_CHECK2; i++) + ShowWindow(GetDlgItem(hwndDlg, i), SW_HIDE); + + if (SndMixerQueryControls(Context->Mixer, &ControlCount, Context->Line, &Control)) + { + for (Index = 0; Index < ControlCount; Index++) + { + if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_BASS) + { + for (i = IDC_ADV_BASS_LOW; i<= IDC_ADV_BASS_SLIDER; i++) + EnableWindow(GetDlgItem(hwndDlg, i), TRUE); + + } + else if (Control[Index].dwControlType == MIXERCONTROL_CONTROLTYPE_TREBLE) + { + for (i = IDC_ADV_TREBLE_LOW; i<= IDC_ADV_TREBLE_SLIDER; i++) + EnableWindow(GetDlgItem(hwndDlg, i), TRUE); + + } + else if (Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_VOLUME && + Control[Index].dwControlType != MIXERCONTROL_CONTROLTYPE_MUTE) + { + ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), SW_SHOWNORMAL); + ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_TEXT), SW_SHOWNORMAL); + + } + } + + /* free controls */ + HeapFree(GetProcessHeap(), 0, Control); + } +} + + +INT_PTR +CALLBACK +AdvancedDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + PADVANCED_CONTEXT Context; + + switch (uMsg) + { + case WM_INITDIALOG: + SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)lParam); + Context = (PADVANCED_CONTEXT)((LONG_PTR)lParam); + OnInitDialog(hwndDlg, Context); + return TRUE; + + case WM_COMMAND: + switch (LOWORD(wParam)) + { + case IDOK: + EndDialog(hwndDlg, IDOK); + break; + } + break; + + case WM_CLOSE: + EndDialog(hwndDlg, IDCANCEL); + break; + } + + return FALSE; +} + +/* EOF */ diff --git a/base/applications/sndvol32/lang/bg-BG.rc b/base/applications/sndvol32/lang/bg-BG.rc index 0d835b0b70..2dbe8d98ec 100644 --- a/base/applications/sndvol32/lang/bg-BG.rc +++ b/base/applications/sndvol32/lang/bg-BG.rc @@ -25,6 +25,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Сила на звука" IDS_NOMIXERDEVICES "Не са открити работещи смесителни устройства! Приложението ще се затвори." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/cs-CZ.rc b/base/applications/sndvol32/lang/cs-CZ.rc index 12aaf2bc08..db619d7bde 100644 --- a/base/applications/sndvol32/lang/cs-CZ.rc +++ b/base/applications/sndvol32/lang/cs-CZ.rc @@ -27,6 +27,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Ovládání hlasitosti" IDS_NOMIXERDEVICES "Nejsou dostupná žádná směšovací zařízení! Aplikace se nyní ukončí." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/de-DE.rc b/base/applications/sndvol32/lang/de-DE.rc index b6897febfc..8e03fd2f8e 100644 --- a/base/applications/sndvol32/lang/de-DE.rc +++ b/base/applications/sndvol32/lang/de-DE.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Lautstärke-Einstellungen" IDS_NOMIXERDEVICES "Es sind keine aktiven Mixer vorhanden! Die Anwendung wird jetzt beendet." + IDS_SELECT "&Auswählen" + IDS_ADVANCED_CONTROLS "Erweiterte Einstellungen für %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/el-GR.rc b/base/applications/sndvol32/lang/el-GR.rc index e10c9abc20..31d62ec445 100644 --- a/base/applications/sndvol32/lang/el-GR.rc +++ b/base/applications/sndvol32/lang/el-GR.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Έλεγχος έντασης" IDS_NOMIXERDEVICES "There are no active mixer devices available! The application will now exit." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/en-US.rc b/base/applications/sndvol32/lang/en-US.rc index 05ebf89e0a..136684d476 100644 --- a/base/applications/sndvol32/lang/en-US.rc +++ b/base/applications/sndvol32/lang/en-US.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Volume Control" IDS_NOMIXERDEVICES "There are no active mixer devices available! The application will now exit." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/es-ES.rc b/base/applications/sndvol32/lang/es-ES.rc index 2480eef1be..fa9de20175 100644 --- a/base/applications/sndvol32/lang/es-ES.rc +++ b/base/applications/sndvol32/lang/es-ES.rc @@ -24,6 +24,10 @@ BEGIN IDS_SNDVOL32 "Control de volumen" IDS_NOMIXERDEVICES "¡No hay dispositivos mezcladores activos en este momento! \n\ La aplicación se cerrará ahora." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/fr-FR.rc b/base/applications/sndvol32/lang/fr-FR.rc index c0e7ec46a7..afd60f5d8d 100644 --- a/base/applications/sndvol32/lang/fr-FR.rc +++ b/base/applications/sndvol32/lang/fr-FR.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Contrôle du volume" IDS_NOMIXERDEVICES "Il n'y a pas de périphérique de mixage disponible ! L'application va se terminer." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/he-IL.rc b/base/applications/sndvol32/lang/he-IL.rc index d892921828..0d9509730e 100644 --- a/base/applications/sndvol32/lang/he-IL.rc +++ b/base/applications/sndvol32/lang/he-IL.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "בקרת עוצמה" IDS_NOMIXERDEVICES "אין התקני ערבול פעילים זמינים! היישום יצא עכשיו" + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/hu-HU.rc b/base/applications/sndvol32/lang/hu-HU.rc index dfc2ae7f43..6de5aebc7f 100644 --- a/base/applications/sndvol32/lang/hu-HU.rc +++ b/base/applications/sndvol32/lang/hu-HU.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Hangerõ szabályozó" IDS_NOMIXERDEVICES "Nincsenek elérhetõ keverõ eszközök. A program kilép." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/id-ID.rc b/base/applications/sndvol32/lang/id-ID.rc index 11d52cab74..466e5b7201 100644 --- a/base/applications/sndvol32/lang/id-ID.rc +++ b/base/applications/sndvol32/lang/id-ID.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Kontrol Volume" IDS_NOMIXERDEVICES "Tidak ada device mixer yang aktif yang tersedia! Aplikasi akan keluar sekarang." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/it-IT.rc b/base/applications/sndvol32/lang/it-IT.rc index 7e97dab9fe..2db5896c26 100644 --- a/base/applications/sndvol32/lang/it-IT.rc +++ b/base/applications/sndvol32/lang/it-IT.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Controllo Volume" IDS_NOMIXERDEVICES "Non ci sono dispositivi mixer disponibili! Il programma si chiuderà." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/ja-JP.rc b/base/applications/sndvol32/lang/ja-JP.rc index 2e6753a0bc..cf0eb203b0 100644 --- a/base/applications/sndvol32/lang/ja-JP.rc +++ b/base/applications/sndvol32/lang/ja-JP.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "ボリューム コントロール" IDS_NOMIXERDEVICES "アクティブなミキサーが利用できません ! アプリケーションを終了します。" + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/ko-KR.rc b/base/applications/sndvol32/lang/ko-KR.rc index ee8173a18d..cc4a57b5ae 100644 --- a/base/applications/sndvol32/lang/ko-KR.rc +++ b/base/applications/sndvol32/lang/ko-KR.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "볼륨 컨트롤" IDS_NOMIXERDEVICES "사용 가능한 믹서 장치가 없습니다! 이 프로그램은 종료됩니다." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/lt-LT.rc b/base/applications/sndvol32/lang/lt-LT.rc index a660ec336b..84eec680ef 100644 --- a/base/applications/sndvol32/lang/lt-LT.rc +++ b/base/applications/sndvol32/lang/lt-LT.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Garso valdiklis" IDS_NOMIXERDEVICES "Šiuo metu nėra aktyvių garso maišymo įrenginių! Programa darbą baigė." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/nl-NL.rc b/base/applications/sndvol32/lang/nl-NL.rc index f6ac02af3b..d355838904 100644 --- a/base/applications/sndvol32/lang/nl-NL.rc +++ b/base/applications/sndvol32/lang/nl-NL.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Volume Control" IDS_NOMIXERDEVICES "Er zijn geen actieve mixerapparaten beschikbaar! Deze toepassing wordt nu afgesloten." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/no-NO.rc b/base/applications/sndvol32/lang/no-NO.rc index 4f4ae532cd..27f53cede7 100644 --- a/base/applications/sndvol32/lang/no-NO.rc +++ b/base/applications/sndvol32/lang/no-NO.rc @@ -21,6 +21,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Volumkontroll" IDS_NOMIXERDEVICES "Det er ingen aktive mikser enheter tilgjengelig! Programmet vil nå avsluttes." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/pl-PL.rc b/base/applications/sndvol32/lang/pl-PL.rc index 11ec96ad8d..7a668740aa 100644 --- a/base/applications/sndvol32/lang/pl-PL.rc +++ b/base/applications/sndvol32/lang/pl-PL.rc @@ -29,6 +29,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Regulacja głośności" IDS_NOMIXERDEVICES "Nie jest dostępne żadne aktywne urządzenie miksujące! Program zostanie zamknięty." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/pt-BR.rc b/base/applications/sndvol32/lang/pt-BR.rc index e95b05e486..08ca3743a3 100644 --- a/base/applications/sndvol32/lang/pt-BR.rc +++ b/base/applications/sndvol32/lang/pt-BR.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Controle de Volume" IDS_NOMIXERDEVICES "Não há dispositivos de mixagem disponíveis! O aplicativo irá sair agora." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/ro-RO.rc b/base/applications/sndvol32/lang/ro-RO.rc index 12467c79ad..d0973e5dce 100644 --- a/base/applications/sndvol32/lang/ro-RO.rc +++ b/base/applications/sndvol32/lang/ro-RO.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Reglaj de volum" IDS_NOMIXERDEVICES "Nu există dispozitive active de mixaj! Aplicația va fi închisă." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/ru-RU.rc b/base/applications/sndvol32/lang/ru-RU.rc index 7effc43f32..c7f05d2d85 100644 --- a/base/applications/sndvol32/lang/ru-RU.rc +++ b/base/applications/sndvol32/lang/ru-RU.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Управление громкостью" IDS_NOMIXERDEVICES "Нет доступных микшерных устройств! Приложение будет завершено." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/sk-SK.rc b/base/applications/sndvol32/lang/sk-SK.rc index d4dcafa489..643de2db7f 100644 --- a/base/applications/sndvol32/lang/sk-SK.rc +++ b/base/applications/sndvol32/lang/sk-SK.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Ovládanie hlasitosti" IDS_NOMIXERDEVICES "Nie sú dostupné žiadne zariadenie zmiešavača! Program sa teraz ukončí." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/sq-AL.rc b/base/applications/sndvol32/lang/sq-AL.rc index 5affa0ffa3..f0fbba6994 100644 --- a/base/applications/sndvol32/lang/sq-AL.rc +++ b/base/applications/sndvol32/lang/sq-AL.rc @@ -25,6 +25,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Kontroll Volumi" IDS_NOMIXERDEVICES "Nuk ka pajisje aktive mikseri ne dispozicion! Programi tani do te dale." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/sv-SE.rc b/base/applications/sndvol32/lang/sv-SE.rc index d7af170874..c91e57a47d 100644 --- a/base/applications/sndvol32/lang/sv-SE.rc +++ b/base/applications/sndvol32/lang/sv-SE.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Volymkontroll" IDS_NOMIXERDEVICES "Det finns inga ljudmixningsenheter tillgängliga! Programmet kommer nu att avslutas." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/th-TH.rc b/base/applications/sndvol32/lang/th-TH.rc index 956fc6f002..3aab609547 100644 --- a/base/applications/sndvol32/lang/th-TH.rc +++ b/base/applications/sndvol32/lang/th-TH.rc @@ -29,6 +29,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "แผงควบคุมระบบเสียง" IDS_NOMIXERDEVICES "ไม่พบอุปกรณ์ผสมเสียงใดๆเหลืออยู่เลย! โปรแกรมนี้จะถูกปิดทันที" + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/tr-TR.rc b/base/applications/sndvol32/lang/tr-TR.rc index a516c104b6..a1ffaa4a88 100644 --- a/base/applications/sndvol32/lang/tr-TR.rc +++ b/base/applications/sndvol32/lang/tr-TR.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Ses Düzeyi Denetimi" IDS_NOMIXERDEVICES "Burada etkin karıştırıcı aygıt yok. Uygulama şimdi çıkacak." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/uk-UA.rc b/base/applications/sndvol32/lang/uk-UA.rc index 6e3d029471..b887b77e28 100644 --- a/base/applications/sndvol32/lang/uk-UA.rc +++ b/base/applications/sndvol32/lang/uk-UA.rc @@ -29,6 +29,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "Регулятор гучності" IDS_NOMIXERDEVICES "Активні пристрої-мікшери недоступні! Додаток закінчує роботу." + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/zh-CN.rc b/base/applications/sndvol32/lang/zh-CN.rc index bdf7864c98..da632544fa 100644 --- a/base/applications/sndvol32/lang/zh-CN.rc +++ b/base/applications/sndvol32/lang/zh-CN.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "音量控制" IDS_NOMIXERDEVICES "没有可用的混音器设备!程序即将退出。" + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/lang/zh-TW.rc b/base/applications/sndvol32/lang/zh-TW.rc index c91d7c89fa..5f0e3b1d7a 100644 --- a/base/applications/sndvol32/lang/zh-TW.rc +++ b/base/applications/sndvol32/lang/zh-TW.rc @@ -23,6 +23,10 @@ STRINGTABLE BEGIN IDS_SNDVOL32 "音量控制" IDS_NOMIXERDEVICES "沒有可用的混音器設備!這個程式即將結束。" + IDS_SELECT "&Select" + IDS_ADVANCED_CONTROLS "Advanced Controls for %s" + IDS_OTHER_CONTROLS1 "&1 %s" + IDS_OTHER_CONTROLS2 "&2 %s" END IDD_PREFERENCES DIALOGEX 0, 0, 224, 250 diff --git a/base/applications/sndvol32/mixer.c b/base/applications/sndvol32/mixer.c index 147d3c4f58..cd1dcc1bf3 100644 --- a/base/applications/sndvol32/mixer.c +++ b/base/applications/sndvol32/mixer.c @@ -610,3 +610,41 @@ SndMixerIsDisplayControl(PSND_MIXER Mixer, return FALSE; } + +LPMIXERLINE +SndMixerGetLineByName(PSND_MIXER Mixer, + DWORD LineID, + LPWSTR LineName) +{ + PSND_MIXER_DESTINATION Line; + PSND_MIXER_CONNECTION Connection; + + if (Mixer->hmx == 0) + return NULL; + + for (Line = Mixer->Lines; Line != NULL; Line = Line->Next) + { + if (Line->Info.dwLineID == LineID) + { + if (Line->DisplayControls != 0) + { + if (wcsicmp(Line->Info.szName, LineName) == 0) + { + return &Line->Info; + } + } + + for (Connection = Line->Connections; Connection != NULL; Connection = Connection->Next) + { + if (wcsicmp(Connection->Info.szName, LineName) == 0) + { + return &Connection->Info; + } + } + + return NULL; + } + } + + return NULL; +} \ No newline at end of file diff --git a/base/applications/sndvol32/resources.h b/base/applications/sndvol32/resources.h index eaa0585221..952e19b885 100644 --- a/base/applications/sndvol32/resources.h +++ b/base/applications/sndvol32/resources.h @@ -38,8 +38,12 @@ #define IDC_ADV_OTHER_CHECK1 1029 #define IDC_ADV_OTHER_CHECK2 1030 -#define IDS_SNDVOL32 100 -#define IDS_NOMIXERDEVICES 101 +#define IDS_SNDVOL32 100 +#define IDS_NOMIXERDEVICES 101 +#define IDS_SELECT 102 +#define IDS_ADVANCED_CONTROLS 103 +#define IDS_OTHER_CONTROLS1 104 +#define IDS_OTHER_CONTROLS2 105 #define IDD_NORMAL_MASTER 200 #define IDD_NORMAL_LINE 201 diff --git a/base/applications/sndvol32/sndvol32.c b/base/applications/sndvol32/sndvol32.c index ada7debff4..8398151ed0 100644 --- a/base/applications/sndvol32/sndvol32.c +++ b/base/applications/sndvol32/sndvol32.c @@ -591,56 +591,6 @@ DlgPreferencesProc(HWND hwndDlg, return 0; } - -static -INT_PTR -CALLBACK -AdvancedDlgProc( - HWND hwndDlg, - UINT uMsg, - WPARAM wParam, - LPARAM lParam) -{ - switch (uMsg) - { - case WM_INITDIALOG: - /* FIXME: Update the dialog title */ - - /* Disable the tone controls */ - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_BASS_LOW), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_BASS_HIGH), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_BASS_SLIDER), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_TREBLE_LOW), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_TREBLE_HIGH), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ADV_TREBLE_SLIDER), FALSE); - - /* Hide the other controls */ - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CONTROLS), SW_HIDE); - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_TEXT), SW_HIDE); - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CHECK1), SW_HIDE); - ShowWindow(GetDlgItem(hwndDlg, IDC_ADV_OTHER_CHECK2), SW_HIDE); - - /* FIXME */ - return TRUE; - - case WM_COMMAND: - switch (LOWORD(wParam)) - { - case IDOK: - EndDialog(hwndDlg, IDOK); - break; - } - break; - - case WM_CLOSE: - EndDialog(hwndDlg, IDCANCEL); - break; - } - - return FALSE; -} - - /******************************************************************************/ static VOID @@ -1064,13 +1014,29 @@ MainWindowProc(HWND hwnd, } else if (CtrlID % IDC_LINE_ADVANCED == 0) { - if (DialogBoxParam(hAppInstance, - MAKEINTRESOURCE(IDD_ADVANCED), - hwnd, - AdvancedDlgProc, - (LPARAM)NULL) == IDOK) - { + ADVANCED_CONTEXT AdvancedContext; + + /* compute line offset */ + LineOffset = CtrlID / IDC_LINE_ADVANCED; + + /* compute window id of line name static control */ + CtrlID = LineOffset * IDC_LINE_NAME; + /* get line name */ + if (GetDlgItemTextW(hwnd, CtrlID, AdvancedContext.LineName, MIXER_LONG_NAME_CHARS) != 0) + { + AdvancedContext.Mixer = Preferences.MixerWindow->Mixer; + AdvancedContext.Line = SndMixerGetLineByName(Preferences.MixerWindow->Mixer, + Preferences.SelectedLine, + AdvancedContext.LineName); + if (AdvancedContext.Line) + { + DialogBoxParam(hAppInstance, + MAKEINTRESOURCE(IDD_ADVANCED), + hwnd, + AdvancedDlgProc, + (LPARAM)&AdvancedContext); + } } } } diff --git a/base/applications/sndvol32/sndvol32.h b/base/applications/sndvol32/sndvol32.h index 201e4f0e18..e324584bc4 100644 --- a/base/applications/sndvol32/sndvol32.h +++ b/base/applications/sndvol32/sndvol32.h @@ -10,6 +10,7 @@ #include <mmsystem.h> #include <commctrl.h> #include <tchar.h> +#include <strsafe.h> #include <assert.h> #include "resources.h" @@ -123,6 +124,14 @@ typedef struct _SET_VOLUME_CONTEXT BOOL bSwitch; } SET_VOLUME_CONTEXT, *PSET_VOLUME_CONTEXT; +typedef struct _ADVANCED_CONTEXT +{ + WCHAR LineName[MIXER_LONG_NAME_CHARS]; + PSND_MIXER Mixer; + LPMIXERLINE Line; +} ADVANCED_CONTEXT, *PADVANCED_CONTEXT; + + /* NOTE: do NOT modify SNDVOL_REG_LINESTATE for binary compatibility with XP! */ typedef struct _SNDVOL_REG_LINESTATE { @@ -150,6 +159,18 @@ BOOL SndMixerEnumLines(PSND_MIXER Mixer, PFNSNDMIXENUMLINES EnumProc, PVOID Cont BOOL SndMixerEnumConnections(PSND_MIXER Mixer, DWORD LineID, PFNSNDMIXENUMCONNECTIONS EnumProc, PVOID Context); BOOL SndMixerIsDisplayControl(PSND_MIXER Mixer, LPMIXERCONTROL Control); BOOL SndMixerQueryControls(PSND_MIXER Mixer, PUINT DisplayControls, LPMIXERLINE LineInfo, LPMIXERCONTROL *Controls); +LPMIXERLINE SndMixerGetLineByName(PSND_MIXER Mixer, DWORD LineID, LPWSTR LineName); + +/* advanced.c */ + +INT_PTR +CALLBACK +AdvancedDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); + /* * dialog.c
5 years, 10 months
1
0
0
0
[reactos] 01/01: [NDK] Fix 'DeletedChidren' typo (#1367)
by Serge Gautherie
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6accaef3c7db34407d7df…
commit 6accaef3c7db34407d7df7adadb559e23d1a716a Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com> AuthorDate: Wed Feb 20 22:16:16 2019 +0100 Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org> CommitDate: Wed Feb 20 22:16:16 2019 +0100 [NDK] Fix 'DeletedChidren' typo (#1367) On behalf of Vadim Galyant. CORE-15769 --- sdk/include/ndk/iotypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/include/ndk/iotypes.h b/sdk/include/ndk/iotypes.h index b693b617e0..84cf6c1714 100644 --- a/sdk/include/ndk/iotypes.h +++ b/sdk/include/ndk/iotypes.h @@ -882,7 +882,7 @@ typedef struct _DEVICE_NODE LIST_ENTRY LegacyBusListEntry; ULONG DriverUnloadRetryCount; struct _DEVICE_NODE *PreviousParent; - ULONG DeletedChidren; + ULONG DeletedChildren; #if (NTDDI_VERSION >= NTDDI_LONGHORN) ULONG NumaNodeIndex; #endif
5 years, 10 months
1
0
0
0
[reactos] 01/01: [VIDEOPRT] Don't return uninitialized memory
by Pierre Schweitzer
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0996dac6830589d308261…
commit 0996dac6830589d308261570823fe58a0da426c3 Author: Pierre Schweitzer <pierre(a)reactos.org> AuthorDate: Wed Feb 20 21:01:46 2019 +0100 Commit: Pierre Schweitzer <pierre(a)reactos.org> CommitDate: Wed Feb 20 21:02:11 2019 +0100 [VIDEOPRT] Don't return uninitialized memory --- win32ss/drivers/videoprt/event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win32ss/drivers/videoprt/event.c b/win32ss/drivers/videoprt/event.c index 99c6b39dd1..c4cf2d272f 100644 --- a/win32ss/drivers/videoprt/event.c +++ b/win32ss/drivers/videoprt/event.c @@ -35,6 +35,9 @@ VideoPortCreateEvent(IN PVOID HwDeviceExtension, TAG_VIDEO_PORT); if (EngEvent) { + /* Zero flags */ + EngEvent->fFlags = 0; + /* Set KEVENT pointer */ EngEvent->pKEvent = EngEvent + 1;
5 years, 10 months
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
...
21
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Results per page:
10
25
50
100
200