Author: hbelusca
Date: Thu Jun 2 21:38:47 2016
New Revision: 71503
URL:
http://svn.reactos.org/svn/reactos?rev=71503&view=rev
Log:
[SNDREC32]: Use a sunken edge for the waveform viewer.
Modified:
trunk/reactos/base/applications/sndrec32/sndrec32.cpp
Modified: trunk/reactos/base/applications/sndrec32/sndrec32.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
==============================================================================
--- trunk/reactos/base/applications/sndrec32/sndrec32.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndrec32/sndrec32.cpp [iso-8859-1] Thu Jun 2 21:38:47
2016
@@ -317,17 +317,18 @@
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 @@
case WM_CREATE:
GetClientRect(hWnd, &cli);
break;
+
case WM_PAINT:
/* Initialize hdc objects */
hdc = BeginPaint(hWnd, &ps);
@@ -420,6 +422,7 @@
case WM_USER:
break;
+
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}