/****************************************************************************

V.RC
  Minimal .RC for V applications

*****************************************************************************/
/*
#define INCL_PM
#define INCL_WIN
#define INCL_GPI
#define INCL_SPLDOSPRINT
*/ 
#include <os2.h>
#define ES_ANY                     0x00000000L

#define vID_FRAME 1
#define vID_PRINT_DLG 2
#define vID_PRINTER 3
#define vID_JOBPROPS 4
#define vID_COPIES 5
#define vID_COLLATE 6
#define vID_PRINTALL 7
#define vID_PRINTPAGES 8
#define vID_PRINTSEL 9
#define vID_PRINTFROM 10
#define vID_PRINTTO 11
#define vID_COLLATEBMP 12
#define vID_STATUS 13
#define vID_TYPE 14
#define vID_WHERE 15

ICON vID_FRAME "vApp.ico"
BITMAP vID_COLLATEBMP "collate.bmp"

DLGTEMPLATE vID_PRINT_DLG 
BEGIN
	DIALOG "Print", vID_PRINT_DLG, 19, 33, 290, 128, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
	PRESPARAMS PP_FONTNAMESIZE , "8.Helv"
	BEGIN
		CONTROL "Printer", 30, 8, 74, 272, 52, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		LTEXT "Name:", -1, 20, 105, 37, 8
		CONTROL "", vID_PRINTER, 60, 70, 136, 44, WC_COMBOBOX, CBS_DROPDOWNLIST | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		PUSHBUTTON "Properties", vID_JOBPROPS, 212, 102, 52, 14
		CONTROL "Print Range", 35, 8, 20, 136, 50, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "All", vID_PRINTALL, 16, 50, 24, 10, WC_BUTTON, BS_AUTORADIOBUTTON | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "Pages", vID_PRINTPAGES, 16, 38, 40, 10, WC_BUTTON, BS_AUTORADIOBUTTON | WS_VISIBLE | WS_TABSTOP | WS_DISABLED
		CONTROL "Selection", vID_PRINTSEL, 16, 26, 50, 10, WC_BUTTON, BS_AUTORADIOBUTTON | WS_VISIBLE | WS_TABSTOP | WS_DISABLED
		CONTROL "", vID_PRINTFROM, 84, 39, 16, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP | WS_DISABLED
		CONTROL "", vID_PRINTTO, 120, 39, 16, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP | WS_DISABLED
		CONTROL "To:", 36, 104, 39, 12, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_VCENTER | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "From:", 37, 60, 39, 20, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_VCENTER | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "Copies", 38, 151, 20, 129, 50, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		LTEXT "Number of Copies", -1, 160, 50, 60, 8
		CONTROL "", vID_COPIES, 226, 50, 30, 12, WC_SPINBUTTON, SPBS_NUMERICONLY | SPBS_MASTER | SPBS_JUSTDEFAULT | SPBS_FASTSPIN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
		CONTROL "Collate", vID_COLLATE, 227, 30, 41, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "#12", 35, 160, 26, 44, 12, WC_STATIC, SS_BITMAP | WS_VISIBLE | WS_GROUP
		DEFPUSHBUTTON "Ok", DID_OK, 192, 3, 40, 14
		PUSHBUTTON "Cancel", DID_CANCEL, 240, 3, 40, 14
		CONTROL "Status:", 32, 20, 93, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
		CONTROL "Type:", 33, 20, 85, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
		CONTROL "Where:", 34, 20, 77, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
		CONTROL "x", vID_STATUS, 56, 93, 140, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
		CONTROL "y", vID_TYPE, 56, 85, 140, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
		CONTROL "z", vID_WHERE, 56, 77, 140, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE
	END

END







