home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
videotlk.zip
/
SAMPLES
/
EX2
/
EX2.DLG
< prev
next >
Wrap
Text File
|
1995-08-31
|
4KB
|
78 lines
/*------------------------------------------------------------------*
* *
* Video Toolkit For OS/2 Version 1.0 *
* Example PM Application No. 2. *
* Written by Stephen Sloan *
* Date : 22/02/95. *
* Copyright (c) Abbotsbury Software Ltd., United Kingdom. 1995. *
* *
* Filename : ex2.dlg *
* *
*------------------------------------------------------------------*/
#define INCL_SW
#include <sw.h>
#include "ex2.h"
DLGTEMPLATE IDD_QUIT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Quit", IDD_QUIT, 12, 19, 193, 71, WS_VISIBLE, FCF_SYSMENU |
FCF_TITLEBAR
BEGIN
LTEXT "Do you really want to Quit ?", -1, 35, 48, 131, 11
PUSHBUTTON "~Yes", DID_OK, 17, 16, 40, 14
PUSHBUTTON "~No", DID_CANCEL, 129, 16, 40, 14
END
END
DLGTEMPLATE IDD_PRODUCTINFO LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "", IDD_PRODUCTINFO, 5, 6, 301, 151, WS_VISIBLE
BEGIN
CTEXT "AboutBox", -1, 127, 135, 52, 10
CTEXT "Video Toolkit For OS/2 Example Application 2", -1,
90, 113, 127, 20, DT_WORDBREAK
CTEXT "Copyright (c) Abbotsbury Software Ltd., U.K. 1994-1"
"995", -1, 31, 37, 245, 10
DEFPUSHBUTTON "OK", DID_OK, 137, 7, 32, 14, WS_GROUP
CONTROL BMP_SWAN, BMP_SWAN, 143, 51, 21, 16, WC_STATIC,
SS_BITMAP | WS_GROUP | WS_VISIBLE
RTEXT "Product Information : ", -1, 14, 96, 125, 8,
DT_VCENTER
RTEXT "Manufacturer's Information : ", -1, 14, 88, 125, 8,
DT_VCENTER
RTEXT "Version : ", -1, 14, 80, 125, 8, DT_VCENTER
LTEXT "", IDD_ABOUT_PROD_INFO, 142, 96, 151, 8, DT_VCENTER
LTEXT "", IDD_ABOUT_MAN_INFO, 142, 88, 151, 8, DT_VCENTER
LTEXT "", IDD_ABOUT_VERSION, 142, 80, 151, 8, DT_VCENTER
END
END
DLGTEMPLATE IDD_TUNE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Tune TV", IDD_TUNE, 14, 20, 275, 159, WS_VISIBLE, FCF_SYSMENU |
FCF_TITLEBAR
BEGIN
GROUPBOX "Source", -1, 7, 125, 114, 32
CONTROL "", IDD_TUNE_SRC, 15, 109, 98, 36, WC_COMBOBOX,
CBS_DROPDOWN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
GROUPBOX "Region", -1, 7, 92, 114, 32
CONTROL "", IDD_TUNE_REGION, 15, 76, 98, 36, WC_COMBOBOX,
CBS_DROPDOWN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
GROUPBOX "Video Format", -1, 7, 59, 114, 32
CONTROL "", IDD_TUNE_VF, 15, 43, 98, 36, WC_COMBOBOX,
CBS_DROPDOWN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
SLIDER IDD_TUNE_FINE, 167, 43, 99, 10, SLS_SNAPTOINCREMENT
CTLDATA 12, 0, 128, 0, 0, 0
RTEXT "Frequency : ", -1, 11, 45, 54, 8
ENTRYFIELD "", IDD_TUNE_FREQ, 68, 45, 51, 8, ES_MARGIN
ENTRYFIELD "", IDD_TUNE_CH, 68, 32, 26, 8, ES_MARGIN
RTEXT "Channel : ", -1, 11, 32, 54, 8
CONTROL "", IDD_TUNE_TV, 131, 60, 133, 93, WC_STATIC,
SS_FGNDFRAME | WS_GROUP | WS_VISIBLE
PUSHBUTTON "OK", DID_OK, 113, 8, 40, 14
RTEXT "Fine", 108, 141, 44, 24, 8
END
END