[SNDREC32]: Use a sunken edge for the waveform viewer.

svn path=/trunk/; revision=71503
This commit is contained in:
Hermès Bélusca-Maïto 2016-06-02 21:38:47 +00:00
parent 88cbd7c4bd
commit add8172c71

View file

@ -317,17 +317,18 @@ InitInstance_wave(HWND f,
hInst = hInstance;
hWnd = CreateWindow(TEXT("sndrec32_wave"),
TEXT(""),
WS_DLGFRAME | WS_VISIBLE | WS_CHILD,
WAVEBAR_X,
WAVEBAR_Y,
WAVEBAR_CX,
WAVEBAR_CY,
f,
(HMENU)8,
hInstance,
0);
hWnd = CreateWindowEx(WS_EX_STATICEDGE,
TEXT("sndrec32_wave"),
TEXT(""),
WS_VISIBLE | WS_CHILD,
WAVEBAR_X,
WAVEBAR_Y,
WAVEBAR_CX,
WAVEBAR_CY,
f,
(HMENU)8,
hInstance,
0);
if (!hWnd )
{
@ -363,6 +364,7 @@ WndProc_wave(HWND hWnd,
case WM_CREATE:
GetClientRect(hWnd, &cli);
break;
case WM_PAINT:
/* Initialize hdc objects */
hdc = BeginPaint(hWnd, &ps);
@ -420,6 +422,7 @@ WndProc_wave(HWND hWnd,
case WM_USER:
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}