home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_03_03
/
3n03016b
< prev
next >
Wrap
Text File
|
1991-11-17
|
1KB
|
32 lines
/* KNB Version 3.10 */
#include <windows.h>
#include "TESTFAD.hh"
#include "fadbox.h"
#include "..\fader\fader.h"
TESTFAD MENU
BEGIN
POPUP "&Demo"
BEGIN
MENUITEM "&Faders...", IDM_D_FADERS
MENUITEM "E&xit", IDM_D_EXIT
END
END
FADBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 108, 14, 131, 133
CAPTION "Pump Up the Volume"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP
BEGIN
CONTROL "Text", FADER_1, "fader", FDRS_TRACK | WS_BORDER | WS_CHILD | WS_TABSTOP, 50, 41, 40, 57
CONTROL "OK", FADER_OK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 58, 106, 24, 14
CONTROL "", FADER_EDIT, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 54, 23, 32, 12
CONTROL "Value:", 103, "static", SS_LEFT | WS_CHILD, 59, 11, 22, 10
END
STRINGTABLE
BEGIN
IDS_ERR_CREATE_WINDOW, "Window creation failed!"
IDS_ERR_REGISTER_CLASS, "Error registering window class"
IDS_REQ_FIELD, "A required field has not been completed"
END