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

//----------------------------------
// ダイアログ (IDD_MENACE)
//----------------------------------
IDD_MENACE DIALOG DISCARDABLE 0, 0, 174, 207
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_DLGFRAME | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_SETFONT | DS_CENTER
CAPTION "MENACE"
MENU IDM_FORM_MENU
FONT 8, "ＭＳ 明朝"
{
 CONTROL 0, IDC_0, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 3, 24, 54, 54
 CONTROL 0, IDC_1, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 60, 24, 54, 54
 CONTROL 0, IDC_2, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 117, 24, 54, 54
 CONTROL 0, IDC_3, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 3, 81, 54, 54
 CONTROL 0, IDC_4, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 60, 81, 54, 54
 CONTROL 0, IDC_5, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 117, 81, 54, 54
 CONTROL 0, IDC_6, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 3, 138, 54, 54
 CONTROL 0, IDC_7, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 60, 138, 54, 54
 CONTROL 0, IDC_8, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON | BS_CENTER | BS_VCENTER | BS_BITMAP, 117, 138, 54, 54
 CONTROL "", IDC_TOOLBAR, "TOOLBARWINDOW32", WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | TBSTYLE_SEP | WS_BORDER, 0, 0, 174, 19
 CONTROL "", IDC_STATUSBAR, "MSCTLS_STATUSBAR32", WS_CHILD | WS_VISIBLE | SBT_TOOLTIPS | CCS_TOP | CCS_NOMOVEY, 0, 195, 174, 12
}

//----------------------------------
// ダイアログ (IDD_INPUT)
//----------------------------------
IDD_INPUT DIALOG DISCARDABLE 0, 0, 169, 72
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION "対戦回数入力"
FONT 9, "ＭＳ 明朝"
{
 CONTROL IDI_ICON, 0, "STATIC", SS_SUNKEN | SS_ICON | WS_CHILD | WS_VISIBLE, 2, 2, 32, 32
 CONTROL "対戦回数を入力してください", 0, "STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 42, 2, 120, 13
 CONTROL "", IDC_GAMES, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST | CBS_SORT, 42, 20, 96, 96
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 128, 53, 32, 16
}

//----------------------------------
// ダイアログ (IDD_INFO)
//----------------------------------
IDD_INFO DIALOG DISCARDABLE 0, 0, 141, 108
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION "MENACEについて"
FONT 9, "ＭＳ 明朝"
{
 CONTROL IDI_ICON, 0, "STATIC", SS_SUNKEN | SS_ICON | WS_CHILD | WS_VISIBLE, 2, 2, 32, 32
 CONTROL "登録盤面数", 0, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 26, 8, 68, 12
 CONTROL "今回のゲーム数", 0, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 2, 26, 92, 12
 CONTROL "今回の先手勝利数", 0, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 2, 42, 92, 12
 CONTROL "今回の後手勝利数", 0, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 2, 58, 92, 12
 CONTROL "今回の引き分け数", 0, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 2, 74, 92, 12
 CONTROL "", IDC_EDIT1, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_RIGHT, 98, 8, 40, 13, WS_EX_CLIENTEDGE
 CONTROL "", IDC_EDIT2, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_RIGHT, 98, 26, 40, 13, WS_EX_CLIENTEDGE
 CONTROL "", IDC_EDIT3, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_RIGHT, 98, 42, 40, 13, WS_EX_CLIENTEDGE
 CONTROL "", IDC_EDIT4, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_RIGHT, 98, 58, 40, 13, WS_EX_CLIENTEDGE
 CONTROL "", IDC_EDIT5, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_READONLY | ES_RIGHT, 98, 74, 40, 13, WS_EX_CLIENTEDGE
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 98, 90, 40, 16
}

//----------------------------------
// ダイアログ (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", SS_SUNKEN | SS_ICON | WS_CHILD | WS_VISIBLE, 12, 10, 32, 32
 CONTROL "MENACE Version 1.0\nCopyright 2021 by Ysama", 0, "STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 42, 8, 80, 24
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 130, 14, 20, 12
}

//----------------------------------
// ダイアログで使用するメニュー
//----------------------------------
IDM_FORM_MENU MENU DISCARDABLE
{
	POPUP "ファイル(&F)"
	{
		MENUITEM "データを開く(&O)", IDM_OPEN
		MENUITEM "データの保存(&S)", IDM_SAVE
		MENUITEM "データコピーを保存(&A)", IDM_SAVEAS
		MENUITEM SEPARATOR
		MENUITEM "終了(&X)", IDM_EXIT
	}
	POPUP "対戦(&G)"
	{
		MENUITEM "先手(&F)", IDM_FM
		MENUITEM "後手(&S)", IDM_SM
		MENUITEM "自動対局(&A)", IDM_AUTO
	}
	POPUP "ヘルプ(&H)"
	{
		MENUITEM "MENACEについて(&A)", IDM_ABOUT
		MENUITEM "バージョン情報(&V)", IDM_VERSION
	}

}

//--------------------------
// イメージ（IDI_NOUGHT）
//--------------------------
IDI_NOUGHT	BITMAP	DISCARDABLE	"Nought.bmp"

//--------------------------
// イメージ（IDI_CROSS）
//--------------------------
IDI_CROSS	BITMAP	DISCARDABLE	"Cross.bmp"

//--------------------------
// イメージ（IDI_VACANT）
//--------------------------
IDI_VACANT	BITMAP	DISCARDABLE	"Vacant.bmp"

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

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