mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +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,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue