home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
videotlk.zip
/
SAMPLES
/
EX5
/
EX5.ZIP
/
EX5.DLG
< prev
next >
Wrap
Text File
|
1999-02-25
|
5KB
|
100 lines
/*------------------------------------------------------------------*
* *
* Video Toolkit For OS/2 Version 1.0 *
* Example PM Application No. 5. *
* Written by Tim Snape *
* Date : 25/02/99. *
* Copyright Abbotsbury Software Ltd. (c), United Kingdom. 1999. *
* *
* Filename : ex5.dlg *
* *
*------------------------------------------------------------------*/
#define INCL_SW
#include <sw.h>
#include "ex5.h"
#include "ex5cap.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, 149, WS_VISIBLE
BEGIN
CTEXT "AboutBox", -1, 127, 135, 52, 10
CTEXT "Video Toolkit For OS/2 Example Application 5", -1,
90, 113, 127, 20, DT_WORDBREAK
CTEXT "Copyright (c) Abbotsbury Software Ltd., U.K. 1994-1"
"999", -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
DLGTEMPLATE IDD_NOTE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "TV Setup", IDD_NOTE, 0, 0, 640, 480, NOT FS_DLGBORDER |
FS_SIZEBORDER, FCF_SYSMENU | FCF_TITLEBAR
BEGIN
CONTROL "", IDD_NOTE_BOOK, 0, 0, 680, 480, WC_NOTEBOOK,
BKS_SPIRALBIND | BKS_BACKPAGESBR | BKS_MAJORTABRIGHT |
BKS_SQUARETABS | BKS_STATUSTEXTLEFT | BKS_TABTEXTLEFT |
BKS_TABTEXTCENTER | WS_GROUP | WS_TABSTOP
END
END
DLGTEMPLATE IDD_CAPTURE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Capture", IDD_CAPTURE, 125, 25, 225, 75, WS_VISIBLE,
FCF_SYSMENU | FCF_TITLEBAR
BEGIN
END
END