#define DS_CENTER		0x00000800L
#define DS_MODALFRAME		0x00000080L
#define WS_EX_TOOLWINDOW	0x00000080L
#define WS_GROUP		0x00020000L
#define WS_EX_STATICEDGE	0x00020000L
#define BS_AUTORADIOBUTTON      0x00000009L
#define BS_FLAT			0x00008000L
#define CBS_DROPDOWNLIST	0x00000003L
#define	WS_VSCROLL		0x00200000L
#define WS_TABSTOP		0x00010000L
#define	WS_DISABLED		0x08000000L

#define ID_OK			10
#define ID_CANCEL		11

#define IDC_STATIC		-1

#define IDC_WINDOWED		20
#define IDC_FULLSCREEN		21

#define IDC_HERZ		22
#define IDC_SCREENMODESFS	23
#define IDC_SCREENMODESW	24

#define IDC_FBUFFER             25
#define IDC_ZBUFFER             26


SetupDialog	DIALOG LOADONCALL MOVEABLE DISCARDABLE 0,0,175,135
		STYLE  DS_MODALFRAME | DS_CENTER
		EXSTYLE WS_EX_TOOLWINDOW
		CAPTION " Настройка параметров запуска"
		FONT 8, "Verdana"
	BEGIN
		CONTROL         "В окошке",	    IDC_WINDOWED,	"Button",BS_AUTORADIOBUTTON | BS_FLAT | WS_TABSTOP , 12,14,80,14
		COMBOBOX        		    IDC_SCREENMODESW,	92,14,71,50,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
		CONTROL         "Полноэкранное",    IDC_FULLSCREEN,	"Button",BS_AUTORADIOBUTTON | BS_FLAT | WS_TABSTOP ,12,30,80,12
		COMBOBOX        		    IDC_SCREENMODESFS,	12,43,71,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_DISABLED | WS_TABSTOP
		LTEXT           "Частота в герцах", IDC_STATIC,		94,33,65,10
		COMBOBOX        		    IDC_HERZ,		92,43,71,80,CBS_DROPDOWNLIST | WS_VSCROLL | WS_DISABLED | WS_TABSTOP
    		GROUPBOX        "Основные",         IDC_STATIC,		6,3,163,61
		LTEXT           "Формат Z буфера",  IDC_STATIC,		13,78,120,10
		COMBOBOX        		    IDC_ZBUFFER,	12,89,71,50,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
		LTEXT           "BackBuffer",       IDC_STATIC,		93,78,120,10
		COMBOBOX        		    IDC_FBUFFER,	92,89,71,50,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
                GROUPBOX        "Дополнительно",    IDC_STATIC,         6,65,163,44
    		DEFPUSHBUTTON   "Запуск", 	    ID_OK, 		110, 113, 58, 17, 0, WS_EX_STATICEDGE
    		PUSHBUTTON      "Выход",	    ID_CANCEL, 		45, 113, 58, 17, 0, WS_EX_STATICEDGE   	
	END