// Writen by Babek http://www.chat.ru/~babekcom/
// В этом файле ресурсов показаны некоторые примеры прорисовки
// компанентов окна, таких как: icon, dialog, menu, button, edit
// text, group, trackbar, version и.т.д

#define ID_ICON	10
ID_ICON ICON "babek.ico"

//------- идентификаторы элементов меню ------------------------------
#define IDM_OPEN 1
#define IDM_SAVE 2
#define IDM_EXIT 3
#define IDM_TEST 4
//------- идентификатор диалога --------------------------------------
#define IDD_DIALOG 100
//--------------------------------------------------------------------


MyMenu MENU
{
 POPUP "&File"
        {
         MENUITEM "&Open",IDM_OPEN
         MENUITEM "&Save",IDM_SAVE
         MENUITEM SEPARATOR
         MENUITEM "E&xit",IDM_EXIT
        }
	MENUITEM "&Test",IDM_TEST
}


IDD_DIALOG DIALOG DISCARDABLE  20, 20, 320, 200
STYLE   DS_MODALFRAME | DS_3DLOOK | DS_CENTER |WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_BORDER
EXSTYLE  WS_DLGFRAME
CAPTION "Диалог 1"
FONT 8, "MS Sans Serif"
MENU MyMenu
BEGIN

	GROUPBOX        "Группа 1", -1, 8, 8, 176, 56
        PUSHBUTTON      "Кнопка 1", 101, 16, 18, 160, 16
	PUSHBUTTON      "Кнопка 2", 102, 16, 42, 160,16

	GROUPBOX        "Группа 2", -1, 8, 72, 176, 120
	EDITTEXT	201, 16, 88, 64, 14
	LTEXT		"Edit 1", 204, 88, 88, 64, 14
	EDITTEXT	202, 16, 110, 64, 14, ES_READONLY
	LTEXT		"Edit 2 ES_READONLY", 205, 88, 110, 76, 14
	EDITTEXT	203, 16, 132, 64, 14, ES_PASSWORD
	LTEXT		"Edit 3 ES_PASSWORD", 206, 88, 132, 76, 14
	EDITTEXT	207, 16, 154, 76, 32, ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOVSCROLL
	LTEXT		"Edit 4 ES_MULTILINE", 202, 100, 154, 64, 20

	GROUPBOX "Группа 3", -1, 192, 8, 114, 56, WS_CHILD | WS_VISIBLE | WS_GROUP
	CONTROL "CheckBox 1", 301, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 200, 16, 68, 12
	CONTROL "CheckBox 2", 302, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 200, 32, 68, 12
	CONTROL "CheckBox 3", 303, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 200, 48, 68, 12

	GROUPBOX "Track Bar", -1, 192, 72, 114, 34, WS_CHILD | WS_VISIBLE | WS_GROUP
	CONTROL	"TrackBar", 401, "msctls_trackbar32", TBS_AUTOTICKS | WS_CHILD | WS_VISIBLE, 194, 80, 110, 18

	ICON 10, -1, 240, 120, 32, 32, WS_CHILD | WS_VISIBLE

        DEFPUSHBUTTON   "Выход", 1000, 230, 176,48,16
END


//------------------------ Версия -------------------------------------

1 VERSIONINFO 
FILEVERSION 1, 0, 0, 0
PRODUCTVERSION 1, 0, 0, 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
BEGIN
	BLOCK "StringFileInfo"
	BEGIN
		BLOCK "040904E4"
		BEGIN
			VALUE "CompanyName", "Babek\0"
			VALUE "FileDescription", "Base 1\0"
			VALUE "FileVersion", "1.00\0"
			VALUE "Final Release", "Sep.01 2000\0"
			VALUE "InternalName", "BASE1\0"
			VALUE "LegalCopyright", "Copyright \251 Babekcom 1999-2000\0"
			VALUE "Language", "Russian\0"
			VALUE "OriginalFilename", "BASE1.EXE\0"
			VALUE "ProductName", "Base 1\0"
			VALUE "ProductVersion", "1.1\0"
			VALUE "CPU", "Pentium 3 - 500 MHz\0"
			VALUE "RAM", "64 Mb\0"

		END

	END

END

