[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; hInst = hInstance;
hWnd = CreateWindow(TEXT("sndrec32_wave"), hWnd = CreateWindowEx(WS_EX_STATICEDGE,
TEXT(""), TEXT("sndrec32_wave"),
WS_DLGFRAME | WS_VISIBLE | WS_CHILD, TEXT(""),
WAVEBAR_X, WS_VISIBLE | WS_CHILD,
WAVEBAR_Y, WAVEBAR_X,
WAVEBAR_CX, WAVEBAR_Y,
WAVEBAR_CY, WAVEBAR_CX,
f, WAVEBAR_CY,
(HMENU)8, f,
hInstance, (HMENU)8,
0); hInstance,
0);
if (!hWnd ) if (!hWnd )
{ {
@ -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);
} }