Skip to content
Permalink
Browse files

[SNDVOL32] Advanced controls dialog: Remove the TBS_AUTOTICKS style f…

…rom the trackbars and initialize them properly.
  • Loading branch information...
EricKohl committed Feb 22, 2019
1 parent 03c3dd5 commit 4ba3c904a85ccdc2406af94c048575df63b17dd2
@@ -14,19 +14,38 @@ 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);

/* Disable the tone controls */
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)
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Oops, something went wrong.

0 comments on commit 4ba3c90

Please sign in to comment.
You can’t perform that action at this time.