mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[SNDREC32]: Use a sunken edge for the waveform viewer.
svn path=/trunk/; revision=71503
This commit is contained in:
parent
88cbd7c4bd
commit
add8172c71
1 changed files with 14 additions and 11 deletions
|
@ -317,9 +317,10 @@ InitInstance_wave(HWND f,
|
||||||
|
|
||||||
hInst = hInstance;
|
hInst = hInstance;
|
||||||
|
|
||||||
hWnd = CreateWindow(TEXT("sndrec32_wave"),
|
hWnd = CreateWindowEx(WS_EX_STATICEDGE,
|
||||||
|
TEXT("sndrec32_wave"),
|
||||||
TEXT(""),
|
TEXT(""),
|
||||||
WS_DLGFRAME | WS_VISIBLE | WS_CHILD,
|
WS_VISIBLE | WS_CHILD,
|
||||||
WAVEBAR_X,
|
WAVEBAR_X,
|
||||||
WAVEBAR_Y,
|
WAVEBAR_Y,
|
||||||
WAVEBAR_CX,
|
WAVEBAR_CX,
|
||||||
|
@ -363,6 +364,7 @@ WndProc_wave(HWND hWnd,
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
GetClientRect(hWnd, &cli);
|
GetClientRect(hWnd, &cli);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_PAINT:
|
case WM_PAINT:
|
||||||
/* Initialize hdc objects */
|
/* Initialize hdc objects */
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
|
@ -420,6 +422,7 @@ WndProc_wave(HWND hWnd,
|
||||||
|
|
||||||
case WM_USER:
|
case WM_USER:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return DefWindowProc(hWnd, message, wParam, lParam);
|
return DefWindowProc(hWnd, message, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue