mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
[SNDVOL32]
Redraw window with correct size. Window height was growing after changing preferences. svn path=/trunk/; revision=51289
This commit is contained in:
parent
6d9847ecb3
commit
02a6a17e28
1 changed files with 9 additions and 9 deletions
|
@ -130,11 +130,11 @@ AddDialogControl(
|
|||
|
||||
}
|
||||
/* now create the window */
|
||||
hwnd = CreateWindowExW(DialogItem->dwExtendedStyle,
|
||||
ClassName,
|
||||
WindowName,
|
||||
DialogItem->style,
|
||||
rect.left,
|
||||
hwnd = CreateWindowExW(DialogItem->dwExtendedStyle,
|
||||
ClassName,
|
||||
WindowName,
|
||||
DialogItem->style,
|
||||
rect.left,
|
||||
rect.top,
|
||||
rect.right,
|
||||
rect.bottom,
|
||||
|
@ -187,7 +187,7 @@ AddDialogControl(
|
|||
Offset++;
|
||||
}
|
||||
|
||||
/* check if there is additional data */
|
||||
/* check if there is additional data */
|
||||
if (*Offset == 0)
|
||||
{
|
||||
/* no additional data */
|
||||
|
@ -323,8 +323,8 @@ LoadDialog(
|
|||
BOOL
|
||||
CALLBACK
|
||||
EnumConnectionsCallback(
|
||||
PSND_MIXER Mixer,
|
||||
DWORD LineID,
|
||||
PSND_MIXER Mixer,
|
||||
DWORD LineID,
|
||||
LPMIXERLINE Line,
|
||||
PVOID Context)
|
||||
{
|
||||
|
@ -439,7 +439,7 @@ EnumConnectionsCallback(
|
|||
GetWindowRect(PrefContext->MixerWindow->hWnd, &rect);
|
||||
|
||||
/* now move the window */
|
||||
MoveWindow(PrefContext->MixerWindow->hWnd, rect.left, rect.top, (PrefContext->Count * DIALOG_VOLUME_SIZE), rect.bottom, TRUE);
|
||||
MoveWindow(PrefContext->MixerWindow->hWnd, rect.left, rect.top, (PrefContext->Count * DIALOG_VOLUME_SIZE), rect.bottom - rect.top, TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue