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

//----------------------------------
// ダイアログ (IDD_MAIN)
//----------------------------------
IDD_MAIN DIALOG DISCARDABLE 0, 0, 285, 292
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_ACCEPTFILES
STYLE WS_POPUP | DS_MODALFRAME | WS_SYSMENU | WS_MINIMIZEBOX | WS_CAPTION | DS_SETFONT | DS_CENTER
CAPTION "TextToSpeech"
MENU IDM_MAIN_MENU
FONT 8, "ＭＳ 明朝"
{
 CONTROL "音声の選択", IDC_SEL, "BUTTON", BS_PUSHBUTTON | BS_AUTOCHECKBOX | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 224, 21, 56, 14
 CONTROL "", IDC_VOICE, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP | LBS_STANDARD, 9, 37, 268, 82
 CONTROL "", IDC_LANGUAGE, "LISTBOX", WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | LBS_STANDARD, 18, 142, 138, 42
 CONTROL "男性", IDC_MALE, "BUTTON", WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_AUTORADIOBUTTON, 175, 145, 87, 12
 CONTROL "女性", IDC_FEMALE, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON, 175, 161, 87, 12
 CONTROL "音量 - 50", IDC_VOLUMELABEL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 181, 145, 9
 CONTROL "", IDC_VOLUME, "MSCTLS_TRACKBAR32", WS_CHILD | WS_VISIBLE | WS_TABSTOP | TBS_AUTOTICKS, 15, 193, 255, 15
 CONTROL "速度 - 0", IDC_SPEEDLABEL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 211, 145, 9
 CONTROL "", IDC_SPEED, "MSCTLS_TRACKBAR32", WS_CHILD | WS_VISIBLE | WS_TABSTOP | TBS_AUTOTICKS, 15, 223, 255, 15
 CONTROL "音程 - 0", IDC_PITCHLABEL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 241, 145, 9
 CONTROL "", IDC_PITCH, "MSCTLS_TRACKBAR32", WS_CHILD | WS_VISIBLE | WS_TABSTOP | TBS_AUTOTICKS, 15, 253, 255, 15
 CONTROL "利用可能音声リスト", IDC_VLISTLABEL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 13, 27, 90, 9
 CONTROL "言語", IDC_LANGLABEL, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 130, 45, 9
 CONTROL "読み出しオプション", 0, "BUTTON", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, 8, 119, 269, 154
 CONTROL "性別", 0, "BUTTON", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, 165, 133, 103, 46
 CONTROL "", IDC_TOOLBAR, "TOOLBARWINDOW32", WS_CHILD | WS_VISIBLE | TBSTYLE_SEP | TBSTYLE_TOOLTIPS, 0, 0, 285, 18
 CONTROL "", IDC_STATUSBAR, "MSCTLS_STATUSBAR32", WS_CHILD | WS_VISIBLE | SBT_TOOLTIPS | CCS_TOP | CCS_NOMOVEY, 0, 280, 285, 12
}

//----------------------------------
// ダイアログで使用するメニュー
//----------------------------------
IDM_MAIN_MENU MENU DISCARDABLE
{
	POPUP "ファイル(&F)"
	{
		MENUITEM "スクリプトの入力(&I)", IDM_INPUT
		MENUITEM "クリップボードから入力(&C)", IDM_CLIP
		MENUITEM "ファイルから入力(&O)", IDM_OPEN
		MENUITEM "スクリプトファイルの保存(&S)", IDM_SAVE
		MENUITEM SEPARATOR
		MENUITEM "終了(&X)", IDM_EXIT
	}
	POPUP "読上げ(&R)"
	{
		MENUITEM "実行(&R)", IDM_READ
		MENUITEM "一時停止(&S)", IDM_STOP
		MENUITEM "再実行(&C)", IDM_CONTINUE
	}
	POPUP "ヘルプ(&H)"
	{
		MENUITEM "使い方(&H)", IDM_HELP
		MENUITEM "バージョン情報(&V)", IDM_VERSION
	}

}
//----------------------------------
// ダイアログ (IDD_DISPLAY)
//----------------------------------
IDD_DISPLAY DIALOG DISCARDABLE 0, 0, 480, 360
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | DS_SETFONT | DS_CENTER
CAPTION "ソースファイルの表示"
FONT 10, "ＭＳ 明朝"
{
 CONTROL "終了", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, 216, 339, 48, 15
 CONTROL "", IDC_EDIT, "EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL | ES_LEFT, 6, 6, 468, 330, WS_EX_CLIENTEDGE
}

//----------------------------------
// ダイアログ (IDD_VERSION)
//----------------------------------
IDD_VERSION DIALOG DISCARDABLE 0, 0, 160, 64
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_SUNKEN | SS_ICON | SS_CENTERIMAGE, 6, 11, 24, 24
 CONTROL "", IDC_VERTXT, "STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 32, 10, 122, 26
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 66, 46, 26, 12
}

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

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