//-----------------------------------------
//             BCCForm Ver 2.4
//    An Easy Resource Editor for BCC
//  Copyright (c) February 2002 by ysama
//-----------------------------------------
#include	"ResBCFEditor.h"

//----------------------------------
// ダイアログ (IDD_SETUP)
//----------------------------------
IDD_SETUP DIALOG DISCARDABLE 0, 0, 192, 270
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_3DLOOK | DS_CENTER
CAPTION "BCFEditorの設定"
FONT 8, "ＭＳ 明朝"
{
 CONTROL "終了", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 72, 247, 48, 15
 CONTROL "検索", IDC_MAKERBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 156, 4, 30, 15
 CONTROL "BCCMakerへのパス", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 9, 90, 9
 CONTROL "", IDC_BCCMAKER, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_READONLY | ES_LEFT, 6, 21, 180, 15, WS_EX_CLIENTEDGE
 CONTROL "検索", IDC_SKELTONBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 156, 39, 30, 15
 CONTROL "BCCSkeltonへのパス", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 43, 90, 9
 CONTROL "", IDC_BCCSKELTON, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_READONLY | ES_LEFT, 6, 55, 180, 15, WS_EX_CLIENTEDGE
 CONTROL "", IDC_TAB, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_RIGHT, 170, 75, 16, 15, WS_EX_CLIENTEDGE
 CONTROL "指定", IDC_FONTBTN, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 154, 94, 30, 15
 CONTROL "タブ設定", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 78, 90, 9
 CONTROL "フォント設定", IDC_FONTLBL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 99, 148, 9
 CONTROL "背景色", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 118, 140, 15
 CONTROL "", IDC_BKCOL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 118, 30, 15, WS_EX_STATICEDGE
 CONTROL "コンパイラーディレクティブ", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 136, 140, 15
 CONTROL "", IDC_CDIR, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 136, 30, 15, WS_EX_STATICEDGE
 CONTROL "定数", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 154, 140, 15
 CONTROL "", IDC_CNST, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 154, 30, 15, WS_EX_STATICEDGE
 CONTROL "予約語", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 172, 140, 15
 CONTROL "", IDC_RSV, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 172, 30, 15, WS_EX_STATICEDGE
 CONTROL "コメント", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 190, 140, 15
 CONTROL "", IDC_CMT, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 190, 30, 15, WS_EX_STATICEDGE
 CONTROL "文字列", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 6, 208, 140, 15
 CONTROL "", IDC_STR, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 208, 30, 15, WS_EX_STATICEDGE
 CONTROL "BCCSkeltonクラス名", 0, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN | SS_CENTER, 5, 226, 140, 15
 CONTROL "", IDC_BCC, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_OWNERDRAW, 156, 226, 30, 15, WS_EX_STATICEDGE
}

//----------------------------------
// ダイアログ (IDD_JUMP)
//----------------------------------
IDD_JUMP DIALOG DISCARDABLE 0, 0, 135, 60
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION "ジャンプする行の指定"
FONT 8, "ＭＳ 明朝"
{
 CONTROL "", IDC_ROW, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_RIGHT, 9, 6, 114, 18, WS_EX_CLIENTEDGE
 CONTROL "決定", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 36, 33, 60, 18
}

//----------------------------------
// ダイアログ (IDD_BCFHELPER)
//----------------------------------
IDD_BCFHELPER DIALOG DISCARDABLE 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_THICKFRAME | WS_CAPTION | DS_SETFONT
CAPTION "BCFHelper"
FONT 8, "ＭＳ 明朝"
{
 CONTROL "挿入", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 180, 96, 54, 18
 CONTROL "", IDC_COMBOBOX, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 159, 3, 76, 54
 CONTROL "テーブル", IDC_RBTABLE, "BUTTON", WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_AUTORADIOBUTTON, 168, 34, 63, 9
 CONTROL "関数宣言", IDC_RBDECLA, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON, 168, 54, 63, 9
 CONTROL "関数定義", IDC_RBDEF, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON, 168, 74, 63, 9
 CONTROL "挿入内容", 0, "BUTTON", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, 159, 21, 75, 70
 CONTROL "", IDC_LISTBOX, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 6, 3, 150, 95, WS_EX_CLIENTEDGE
 CONTROL "終了", IDCANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON, 6, 96, 54, 18
}

//----------------------------------
// ダイアログ (IDD_VERSION)
//----------------------------------
IDD_VERSION DIALOG DISCARDABLE 0, 0, 160, 40
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, 8, 8, 32, 32
 CONTROL "", IDC_VERTXT, "STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 32, 8, 80, 24
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 128, 10, 20, 13
}

//-------------------------
// メニュー（MAIN_MENU）
//-------------------------
MAIN_MENU MENU DISCARDABLE
{
	POPUP "ファイル(&F)"
	{
		MENUITEM "新規作成(&N)", IDM_NEW
		MENUITEM "ファイルを開く(&O)", IDM_OPEN
		MENUITEM "上書き保存(&S)", IDM_SAVE, GRAYED
		MENUITEM "名前をつけて保存(&A)", IDM_SAVEAS, GRAYED
		MENUITEM SEPARATOR
		MENUITEM "プリンター設定(&T)", IDM_SETPRINT, GRAYED
		MENUITEM "印刷(&P)", IDM_PRINT, GRAYED
		MENUITEM SEPARATOR
		MENUITEM "終了(&X)", IDM_EXIT
	}
	POPUP "編集(&E)", GRAYED
	{
		MENUITEM "元に戻す(&U)", IDM_UNDO
		MENUITEM "やり直し(&R)", IDM_REDO
		MENUITEM SEPARATOR
		MENUITEM "切り取り(&T)", IDM_CUT
		MENUITEM "コピー(&C)", IDM_COPY
		MENUITEM "貼り付け(&P)", IDM_PASTE
		MENUITEM SEPARATOR
		MENUITEM "すべて選択(&A)", IDM_SELALL
		MENUITEM SEPARATOR
		MENUITEM "文字列の検索(&F)", IDM_FIND
		MENUITEM "文字列の置換(&R)", IDM_REPLACE
		MENUITEM SEPARATOR
		MENUITEM "指定行へ移動(&J)", IDM_JUMP
		MENUITEM SEPARATOR
		POPUP "BCFHelper(&B)", GRAYED
		{
			MENUITEM "BCFHelperの表示(&D)", IDM_DIALOGON
			MENUITEM "BCFHelperの消去(&J)", IDM_DIALOGOFF, GRAYED
		}
		MENUITEM SEPARATOR
		MENUITEM "設定(&S)", IDM_SET
	}
	POPUP "ツール(&T)", GRAYED
	{
		MENUITEM "スケルトンの作成(&S)", IDM_SKELTON
		MENUITEM SEPARATOR
		MENUITEM "Make(&M)", IDM_MAKE
	}
	POPUP "ウィンドウ(&W)", GRAYED
	{
		MENUITEM "重ねて並べる(&C)", IDM_CASCADE
		MENUITEM "縦に並べる(&V)", IDM_TILEHORZ
		MENUITEM "横に並べる(&H)", IDM_TILEVERT
		MENUITEM "アイコンの整列(&I)", IDM_ARRANGE
	}
	POPUP "ヘルプ(&H)"
	{
		MENUITEM "BCCSkeltonについて(&B)", IDM_BCCSKELTON
		MENUITEM "ショートカットキー(&S)", IDM_SHORTCUT
		MENUITEM "バージョン(&V)", IDM_VER
	}
}

//--------------------------
// イメージ（IDB_CUSTOM）
//--------------------------
IDB_CUSTOM	BITMAP	DISCARDABLE	"Custom.bmp"

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

//--------------------------------
// アクセラレーター (IDA_ACCEL)
//--------------------------------
IDA_ACCEL ACCELERATORS DISCARDABLE
{
 VK_C, IDM_COPY, VIRTKEY, CONTROL, NOINVERT
 VK_F, IDM_FIND, VIRTKEY, CONTROL, NOINVERT
 VK_N, IDM_NEW, VIRTKEY, CONTROL, NOINVERT
 VK_O, IDM_OPEN, VIRTKEY, CONTROL, NOINVERT
 VK_P, IDM_PRINT, VIRTKEY, CONTROL, NOINVERT
 VK_R, IDM_REPLACE, VIRTKEY, CONTROL, NOINVERT
 VK_S, IDM_SAVE, VIRTKEY, CONTROL, NOINVERT
 VK_T, IDM_CUT, VIRTKEY, CONTROL, NOINVERT
 VK_V, IDM_PASTE, VIRTKEY, CONTROL, NOINVERT
 VK_X, IDM_EXIT, VIRTKEY, CONTROL, NOINVERT
 VK_U, IDM_UNDO, VIRTKEY, CONTROL, NOINVERT
 VK_F1, IDM_SHORTCUT, VIRTKEY, NOINVERT
 VK_F2, IDM_VER, VIRTKEY, NOINVERT
}

//--------------------
// ストリングテーブル
//--------------------
STRINGTABLE DISCARDABLE
{
 String_00, "新規作成"
 String_01, "ファイルを開く"
 String_02, "上書き保存"
 String_03, "プリンター設定"
 String_04, "印刷"
 String_05, "元に戻す"
 String_06, "やり直し"
 String_07, "切り取り"
 String_08, "コピー"
 String_09, "貼り付け"
 String_10, "文字列の検索"
 String_11, "文字列の置換"
 String_12, "指定行へ移動"
 String_13, "BCFHelperの表示"
 String_14, "BCFHelperの消去"
 String_15, "設定"
 String_16, "スケルトンの作成"
 String_17, "Make"
 String_18, "BCCSkeltonについて"
 String_19, "バージョン"
}
