#ifndef WORKSHOP_INVOKED
#include <windows.h>
#endif
#include "odb95res.h"


MENU_1 MENU 
{
 POPUP "Database"
 {
  MENUITEM "New", ID_NEWDB
  MENUITEM "Open", ID_OPTION1
  MENUITEM "Save", ID_OPTION2
  MENUITEM SEPARATOR
  MENUITEM "Exit", ID_EXITPROG
 }

 POPUP "Create"
 {
  MENUITEM "Type", ID_CREATETYPE
  MENUITEM "Property", ID_CREATEPROP
  MENUITEM "Instance", ID_CREATEINST
 }

 POPUP "Delete/Update"
 {
  MENUITEM "Type", ID_DELETETYPE
  MENUITEM "Property", ID_DELETEPROP
  MENUITEM "Instance", ID_DELETEINST
  MENUITEM SEPARATOR
  MENUITEM "Update Instance", ID_UPDATEINST
 }

 POPUP "Inspect"
 {
  MENUITEM "Database", ID_INSPECTDB
  MENUITEM "Type", ID_INSPECTTYPE
  MENUITEM "Instance", ID_INSPECTINST
 }

}


STRINGTABLE
{
	IDS_FILEOPENEXT, "*.odb"
	IDS_OPENDLGTITLE, "Open Object database File"
	IDS_OPENDLGBUTTON, "~Open"
	IDS_SAVEDLGTITLE, "Save Object database File"
	IDS_SAVEDLGBUTTON, "~Save"
}

DLG_DBOUTPUT DIALOG 4, 32, 292, 113
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Database Output"
FONT 10, "System"
{
 DEFPUSHBUTTON "Close", DID_OK, 121, 97, 51, 14
 CONTROL "Odb", ML_DBOUT, "LISTBOX", LBS_STANDARD, 6, 9, 278, 83
}

DLG_CREINST DIALOG 4, 23, 301, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Create Instance"
FONT 10, "System"
{
 DEFPUSHBUTTON "Create Instance", DID_OK, 169, 127, 76, 14
 PUSHBUTTON "Done", DID_CANCEL, 248, 127, 51, 14
 CONTROL "Database Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 11, 9, 65, 8
 COMBOBOX 91, 7, 21, 92, 55, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 LISTBOX 92, 8, 44, 91, 56, LBS_STANDARD
 CONTROL "Properties", 103, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 35, 45, 8
 EDITTEXT 94, 8, 105, 91, 8, WS_BORDER | WS_TABSTOP
 LISTBOX 95, 205, 42, 92, 56, LBS_STANDARD
 EDITTEXT 96, 205, 104, 92, 8, WS_BORDER | WS_TABSTOP
 EDITTEXT 97, 108, 43, 87, 8, WS_BORDER | WS_TABSTOP
 CONTROL "Value", 98, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 109, 31, 45, 8
 PUSHBUTTON "Set ->", 99, 130, 65, 40, 14
}


DLG_CRETP DIALOG 9, 34, 155, 115
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Create type"
FONT 10, "System "
{
 DEFPUSHBUTTON "Create Type", DID_OK, 14, 94, 67, 14
 PUSHBUTTON "Done", DID_CANCEL, 89, 94, 51, 14
 CONTROL "Type name", 111, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 10, 49, 8
 EDITTEXT 112, 10, 19, 112, 8, WS_BORDER | WS_TABSTOP
 CONTROL "Subtype of", 113, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 37, 45, 8
 COMBOBOX 114, 12, 49, 112, 51, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
}


DLG_CREPROP DIALOG 14, 41, 264, 125
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Create Property"
FONT 10, "System"
{
 DEFPUSHBUTTON "Create property", DID_OK, 127, 107, 78, 14
 PUSHBUTTON "Done", DID_CANCEL, 209, 107, 51, 14
 CONTROL "Odb Type to Add Property to", 124, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 15, 96, 8
 EDITTEXT ID_NEWPROP, 134, 25, 111, 10, WS_BORDER | WS_TABSTOP
 CONTROL "Name of New Property", 126, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 134, 13, 85, 8
 COMBOBOX ID_DATATYPE, 8, 24, 116, 43, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 CONTROL "Datatype of New Propery", 128, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 134, 41, 84, 9
 COMBOBOX ID_TYPENAME, 134, 53, 116, 41, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 CONTROL "Index on property", 122, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 134, 77, 65, 10
 CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 130, 9, 127, 85
}


DLG_CREATEDB DIALOG 21, 23, 239, 110
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Create Database"
FONT 10, "System"
{
 DEFPUSHBUTTON "Create ODB", DID_OK, 128, 86, 51, 14
 PUSHBUTTON "Done", DID_CANCEL, 182, 86, 51, 14
 EDITTEXT 81, 7, 25, 82, 9, WS_BORDER | WS_TABSTOP
 CONTROL "Database Name", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 14, 82, 9
 CONTROL "Table Size", 83, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 47, 45, 8
 CONTROL "Note", 86, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 115, 14, 45, 8
 EDITTEXT 84, 9, 61, 47, 12, WS_BORDER | WS_TABSTOP
 CONTROL "Estimate the number of objects each type will have. Suggested values are 10, 100, 1000 and 10000. Only assign a larger value if your computer is equipped with a lot of memory.", 82, "EDIT", ES_MULTILINE | ES_READONLY | NOT WS_TABSTOP | WS_DISABLED | WS_BORDER, 117, 25, 116, 50
}

DLG_INSPECTDB DIALOG 16, 46, 261, 121
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Inspect Database"
FONT 10, "System"
{
 PUSHBUTTON "Done", DID_CANCEL, 199, 102, 56, 14
 CONTROL "Database Name", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 8, 81, 8
 EDITTEXT 71, 9, 17, 74, 9, WS_BORDER | WS_TABSTOP
 CONTROL "Table size", 72, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 38, 45, 8
 EDITTEXT 73, 9, 47, 42, 9, WS_BORDER | WS_TABSTOP
 CONTROL "Types", 75, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 113, 8, 45, 8
 EDITTEXT 74, 111, 17, 142, 77, WS_BORDER | WS_TABSTOP
}

DLG_INSPECTTYPE DIALOG 32, 19, 237, 142
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Inspect Type"
FONT 10, "System"
{
 DEFPUSHBUTTON "Done", DID_OK, 171, 121, 51, 14
 CONTROL "Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 8, 46, 8
 CONTROL "Subtypes", 102, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 11, 38, 45, 8
 COMBOBOX 61, 11, 18, 81, 44, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 LISTBOX 64, 10, 49, 81, 40, LBS_STANDARD
 EDITTEXT 62, 12, 105, 76, 9, WS_BORDER | WS_TABSTOP
 CONTROL "Supertype", 63, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 95, 45, 8
 LISTBOX 66, 106, 18, 118, 74, LBS_STANDARD
 CONTROL "Properties", 65, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 107, 9, 45, 8
}

DLG_INSPECTINSTANCE DIALOG 8, 19, 269, 162
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ODB Inspect Instance"
FONT 10, "System"
{
 DEFPUSHBUTTON "Done", DID_CANCEL, 203, 144, 51, 14
 CONTROL "Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 10, 45, 8
 CONTROL "Object Inspector", 52, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 17, 45, 70, 8
 LISTBOX 53, 15, 56, 238, 80, LBS_STANDARD
 COMBOBOX 55, 15, 20, 85, 35, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
}

DLG_DELETETYPE DIALOG 0, 69, 255, 85
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Odb Delete Type"
FONT 10, "System"
{
 DEFPUSHBUTTON "Delete", DID_OK, 142, 69, 51, 14
 PUSHBUTTON "Done", DID_CANCEL, 196, 69, 51, 14
 COMBOBOX 41, 11, 26, 94, 53, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 CONTROL "Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 13, 16, 45, 8
 CONTROL "When a type is deleted all subtypes are also deleted as well as  instances to all deleted types.", 42, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 125, 25, 122, 40
 CONTROL "Note", 43, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 127, 15, 45, 8
}

DLG_DELETEPROP DIALOG 25, 30, 208, 91
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Odb Delete Property"
FONT 10, "System"
{
 DEFPUSHBUTTON "Delete", DID_OK, 92, 69, 51, 14
 PUSHBUTTON "Done", DID_CANCEL, 146, 69, 51, 14
 COMBOBOX 31, 9, 20, 88, 35, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 CONTROL "Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 11, 10, 45, 8
 CONTROL "Property", 33, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 111, 9, 45, 8
 LISTBOX 32, 110, 19, 86, 40, LBS_STANDARD
}

DLG_DELETEINST DIALOG 9, 11, 275, 168
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Odb Delete Instance"
FONT 10, "System"
{
 DEFPUSHBUTTON "Done", DID_CANCEL, 217, 151, 51, 14
 CONTROL "Type", 101, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 18, 9, 45, 8
 CONTROL "Object Inspector", 52, "BorStatic", SS_LEFT | WS_CHILD | WS_VISIBLE, 17, 36, 70, 8
 LISTBOX 53, 17, 46, 252, 96, LBS_STANDARD
 COMBOBOX 55, 17, 19, 85, 35, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 PUSHBUTTON "Delete", DID_OK, 172, 151, 40, 14
}

DLG_UPDATEINST DIALOG 25, 77, 357, 159
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Odb Update Instance"
FONT 10, "System"
{
 DEFPUSHBUTTON "Done", DID_CANCEL, 302, 141, 51, 14
 CONTROL "Type", 101, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 38, 45, 8
 CONTROL "Object Inspector", 52, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 9, 70, 8
 LISTBOX 53, 16, 48, 201, 96, LBS_STANDARD
 COMBOBOX 55, 15, 17, 85, 35, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 COMBOBOX 56, 121, 17, 92, 50, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP
 CONTROL "Property", 11, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 122, 9, 45, 8
 EDITTEXT 57, 254, 87, 94, 8, WS_BORDER | WS_TABSTOP
 CONTROL "Datatype", 12, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 255, 78, 45, 8
 EDITTEXT 58, 253, 62, 94, 8, WS_BORDER | WS_TABSTOP
 CONTROL "New Value", 14, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 255, 51, 45, 8
 PUSHBUTTON "Update", DID_OK, 253, 141, 44, 14
 CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 10, 6, 224, 146
}
/*

EDITTEXT 62, 12, 105, 76, 9, WS_BORDER | WS_TABSTOP

DLGGTEMPLATE 10 
BEGIN
	DIALOG "ODB Update Instance", 10, 5, 67, 357, 159, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
	BEGIN
		DEFPUSHBUTTON "Done", DID_CANCEL, 303, 2, 51, 14
		CONTROL "Type", 101, 19, 143, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "Object Inspector", 52, 19, 115, 70, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "", 53, 17, 17, 201, 96, WC_LISTBOX, LS_HORZSCROLL | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "", 55, 16, 106, 85, 35, WC_COMBOBOX, CBS_DROPDOWN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "", 56, 127, 91, 92, 50, WC_COMBOBOX, CBS_DROPDOWN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "Property", 11, 130, 143, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "", 57, 249, 67, 94, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_READONLY | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "Datatype", 12, 250, 78, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "Sample", 13, 7, 8, 222, 146, WC_STATIC, SS_FGNDFRAME | WS_VISIBLE | WS_GROUP
		CONTROL "", 58, 250, 98, 94, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
		CONTROL "New Value", 14, 251, 109, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
		CONTROL "Update", DID_OK, 254, 2, 44, 14, WC_BUTTON, BS_PUSHBUTTON | WS_VISIBLE | WS_GROUP | WS_TABSTOP
	END

END
*/


DATABASEICON BITMAP "database.bmp"
CLASSICON BITMAP "type.bmp"
LARGEICON ICON "odb95l.ico"
SMALLICON ICON "odbicos.ico"
