//-----------------------------------------
//             BCCForm Ver 2.41
//    An Easy Resource Editor for BCC
//  Copyright (c) February 2002 by ysama
//-----------------------------------------
#include	"ResMSCompAss.h"
#define		TBSTYLE_TOOLTIPS	0x0100
#define		SBT_TOOLTIPS		0x0800

//----------------------------------
// ダイアログ (IDD_MAIN)
//----------------------------------
IDD_MAIN DIALOG DISCARDABLE 0, 0, 282, 220
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | DS_SETFONT | DS_CENTER
CAPTION "MSCompAss"
MENU IDM_MAIN
FONT 9, "ＭＳ 明朝"
{
 CONTROL "", IDC_FILENAME, "EDIT", WS_CHILD | WS_BORDER | ES_READONLY | ES_AUTOHSCROLL | ES_LEFT, 48, 19, 230, 15, WS_EX_CLIENTEDGE
 CONTROL "Option", IDC_OPTBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 4, 39, 40, 15
 CONTROL "", IDC_OPTION, "EDIT", WS_CHILD | WS_BORDER | ES_READONLY | WS_TABSTOP | ES_AUTOHSCROLL | ES_LEFT, 48, 39, 230, 15, WS_EX_CLIENTEDGE
 CONTROL "", IDC_OUTPUT, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL | ES_LEFT, 4, 59, 274, 144, WS_EX_CLIENTEDGE
 CONTROL "", IDC_TOOLBAR, "TOOLBARWINDOW32", WS_CHILD | WS_VISIBLE | TBSTYLE_SEP | TBSTYLE_TOOLTIPS, 0, 0, 0, 0
 CONTROL "", IDC_STATUSBAR, "MSCTLS_STATUSBAR32", WS_CHILD | WS_VISIBLE | SBT_TOOLTIPS | CCS_TOP | CCS_NOMOVEY, 0, 0, 0, 0
 CONTROL "ファイル名", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 4, 22, 40, 9
}

//----------------------------------
// ダイアログで使用するメニュー
//----------------------------------
IDM_MAIN MENU DISCARDABLE
{
	POPUP "ファイル(&F)"
	{
		MENUITEM "ファイルを開く(&O)", IDM_OPEN
		MENUITEM "ファイルを閉じる(&C)", IDM_CLOSE
		MENUITEM SEPARATOR
		MENUITEM "終了(&X)", IDM_EXIT
	}
	POPUP "編集(&E)"
	{
		MENUITEM "ソースファイルの編集(&E)", IDM_EDIT
		MENUITEM SEPARATOR
		MENUITEM "コンパイル(&C)", IDM_COMPILE
		MENUITEM SEPARATOR
		MENUITEM "Exeファイルの実行(&R)", IDM_RUN
	}
	POPUP "ヘルプ(&H)"
	{
		MENUITEM "設定(&S)", IDM_SETTING
		MENUITEM "ヘルプ情報(&V)", IDM_HELP
		MENUITEM "バージョン情報(&V)", IDM_VERSION
	}

}
//----------------------------------
// ダイアログ (IDD_SETUP)
//----------------------------------
IDD_SETUP DIALOG DISCARDABLE 0, 0, 300, 60
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_DLGFRAME | WS_CAPTION | WS_SYSMENU | DS_CENTER
CAPTION "MSCompAssの設定"
FONT 8, "ＭＳ 明朝"
{
 CONTROL "終了", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 243, 78, 48, 15
 CONTROL "csc.exeへのパス", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 9, 75, 9
 CONTROL "", IDC_CSCPATH, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_READONLY | ES_LEFT, 90, 6, 165, 15, WS_EX_CLIENTEDGE
 CONTROL "検索", IDC_CSCBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 6, 30, 15
 CONTROL "vbc.exeへのパス", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 27, 75, 9
 CONTROL "", IDC_VBCPATH, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_READONLY | ES_LEFT, 90, 24, 165, 15, WS_EX_CLIENTEDGE
 CONTROL "検索", IDC_VBCBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 24, 30, 15
 CONTROL "エディターのパス", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 45, 75, 9
 CONTROL "", IDC_EDITPATH, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_READONLY | ES_LEFT, 90, 42, 165, 15, WS_EX_CLIENTEDGE
 CONTROL "検索", IDC_EDITBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 42, 30, 15
}

//----------------------------------
// ダイアログ (IDD_OPTION)
//----------------------------------
IDD_OPTION DIALOG DISCARDABLE 0, 0, 300, 209
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION "主要オプション指定"
FONT 9, "ＭＳ 明朝"
{
 CONTROL "出力ファイル", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 9, 75, 9
 CONTROL "", IDC_TARGET, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL, 90, 6, 165, 60
 CONTROL "リソース", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 27, 75, 9
 CONTROL "", IDC_RESOURCE, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL, 90, 24, 165, 48
 CONTROL "検索", IDC_FINDBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 42, 30, 15
 CONTROL "リソースファイル", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 45, 75, 9
 CONTROL "", IDC_RSCFILE, "EDIT", WS_CHILD | WS_BORDER | ES_READONLY | ES_AUTOHSCROLL | ES_LEFT, 90, 42, 165, 14, WS_EX_CLIENTEDGE
 CONTROL "指定", IDC_ICONBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 60, 30, 15
 CONTROL "プログラムアイコン", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 63, 75, 9
 CONTROL "", IDC_ICONFILE, "EDIT", WS_CHILD | WS_BORDER | ES_READONLY | ES_AUTOHSCROLL | ES_LEFT, 90, 60, 165, 14, WS_EX_CLIENTEDGE
 CONTROL "コード生成", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 81, 75, 9
 CONTROL "", IDC_DBGOPT, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL, 90, 78, 165, 60
 CONTROL "エラーと警告", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 99, 75, 9
 CONTROL "", IDC_WARNERR, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL, 90, 96, 165, 90
 CONTROL "DLL 参照", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 117, 75, 9
 CONTROL "", IDC_REFERENCE, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | LBS_DISABLENOSCROLL, 90, 114, 165, 52, WS_EX_CLIENTEDGE
 CONTROL "参照", IDC_REFBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 115, 30, 15
 CONTROL "削除", IDC_DELBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 261, 146, 30, 15
 CONTROL "その他オプション", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 172, 75, 9
 CONTROL "", IDC_OTHERS, "EDIT", WS_CHILD | WS_BORDER | ES_AUTOHSCROLL | ES_LEFT, 90, 169, 165, 14, WS_EX_CLIENTEDGE
 CONTROL "中止", IDCANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 6, 189, 48, 15
 CONTROL "終了", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 244, 189, 48, 15
}

//----------------------------------
// ダイアログ (IDD_VERSION)
//----------------------------------
IDD_VERSION DIALOG DISCARDABLE 0, 0, 160, 54
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION "バージョン情報"
FONT 9, "Times New Roman"
{
 CONTROL IDI_ICON, 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_ICON, 4, 10, 18, 18
 CONTROL "MSComAss Version 1.6\r\nCopyright (c) 2022\r\nBy Ysama", IDC_VERTXT, "STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 32, 4, 106, 26
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 66, 38, 26, 12
}

//--------------------------
// イメージ（IDI_ICON）
//--------------------------
IDI_ICON	ICON	DISCARDABLE	"Icon.ico"

//--------------------------
// イメージ（IDI_TOOLBAR）
//--------------------------
IDI_TOOLBAR	BITMAP	DISCARDABLE	"MSCompAss.bmp"
