//-----------------------------------------
//             BCCForm Ver 2.41
//    An Easy Resource Editor for BCC
//  Copyright (c) February 2002 by ysama
//-----------------------------------------
#include	<windows.h>
#include	"ResExtractData.h"

//----------------------------------
// ダイアログ (MYVERSION)
//----------------------------------
MYVERSION DIALOG DISCARDABLE 0, 0, 129, 66
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_DLGFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "バージョン情報"
FONT 10, "MS UI Gothic"
{
 CONTROL "OK", IDC_OKBUTTON, "BUTTON", WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, 48, 48, 33, 12
 CONTROL "ExtractData", IDC_LABEL1, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 6, 42, 9
 CONTROL "Version 1.20", IDC_LABEL2, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 18, 60, 9
 CONTROL "Copyright(C) 2006-2009 Yuu", IDC_LABEL3, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 18, 30, 126, 9
}

//----------------------------------
// ダイアログ (PROGBAR)
//----------------------------------
PROGBAR DIALOG DISCARDABLE 0, 0, 189, 69
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "抽出中..."
FONT 10, "MS UI Gothic"
{
 CONTROL "ProgressBar1", IDC_PROGBAR1, "MSCTLS_PROGRESS32", WS_CHILD | WS_VISIBLE | WS_BORDER, 24, 9, 156, 15
 CONTROL "キャンセル", IDC_CANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON, 75, 48, 42, 15
 CONTROL "0%", IDC_PERCENT, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_RIGHT, 3, 12, 18, 9
 CONTROL "", IDC_EXTFILENAME, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 24, 30, 156, 12
}

//----------------------------------
// ダイアログ (OPTION)
//----------------------------------
OPTION DIALOG DISCARDABLE 0, 0, 288, 198
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "オプション"
FONT 10, "MS UI Gothic"
{
}

//----------------------------------
// ダイアログ (DATABASE)
//----------------------------------
DATABASE DIALOG DISCARDABLE 0, 0, 327, 180
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "データベース編集"
FONT 10, "MS UI Gothic"
{
}

//----------------------------------
// ダイアログ (EXISTSDLG)
//----------------------------------
EXISTSDLG DIALOG DISCARDABLE 0, 0, 204, 81
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "上書き確認"
FONT 10, "MS UI Gothic"
{
 CONTROL "はい", IDC_EXISTS_YES, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 9, 60, 36, 12
 CONTROL "いいえ", IDC_EXISTS_NO, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 51, 60, 36, 12
 CONTROL "すべてはい", IDC_EXISTS_ALLYES, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 60, 48, 12
 CONTROL "すべていいえ", IDC_EXISTS_ALLNO, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 147, 60, 48, 12
 CONTROL "", IDC_EXISTS_PATH, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 9, 9, 186, 18
 CONTROL "出力先には同名のファイルが存在します。", IDC_STATIC1000, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 9, 30, 126, 9
 CONTROL "上書きしますか？", IDC_STATIC1001, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 9, 42, 54, 9
}

//----------------------------------
// ダイアログ (SEARCHDLG)
//----------------------------------
SEARCHDLG DIALOG DISCARDABLE 0, 0, 204, 81
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "確認"
FONT 10, "MS UI Gothic"
{
 CONTROL "はい", IDC_SEARCH_YES, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 15, 60, 42, 12
 CONTROL "いいえ", IDC_SEARCH_NO, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 72, 60, 42, 12
 CONTROL "設定を開く", IDC_SEARCH_OPTION, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 132, 60, 54, 12
 CONTROL "", IDC_SEARCH_MESSAGE, "STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 9, 9, 186, 42
}

//----------------------------------
// ダイアログ (FOLDER_INPUT_DLG)
//----------------------------------
FOLDER_INPUT_DLG DIALOG DISCARDABLE 0, 0, 270, 180
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION ""
FONT 10, "MS UI Gothic"
{
}


//-------------------------
// メニュー（MAINMENU）
//-------------------------
MAINMENU MENU DISCARDABLE
{
	POPUP "ファイル(&F)"
	{
		MENUITEM "ファイルを開く(&O)\tCtrl+O", IDM_OPEN
		MENUITEM "閉じる(&C)\tCtrl+W", IDM_CLOSE
		MENUITEM SEPARATOR
		MENUITEM "終了(&X)\tCtrl+Q", IDM_EXIT
	}
	POPUP "抽出(&C)"
	{
		MENUITEM "選択範囲を抽出(&E)\tCtrl+S", IDM_EXTRACT
		MENUITEM "すべて抽出(&A)\tCtrl+Shift+S", IDM_EXTRACTALL
		MENUITEM SEPARATOR
		MENUITEM "変換せずに選択範囲を抽出", IDM_EXTRACT_NOTCONVERT
		MENUITEM "変換せずにすべて抽出", IDM_EXTRACTALL_NOTCONVERT
	}
	POPUP "設定(&S)"
	{
		MENUITEM "オプション(&O)\tCtrl+E", IDM_OPTION
	}
	POPUP "ヘルプ(&H)"
	{
		MENUITEM "Readme.txt(&R)", IDM_README
		MENUITEM "History.txt(&H)", IDM_HISTORY
		MENUITEM "State.txt(&S)", IDM_STATE
		MENUITEM SEPARATOR
		MENUITEM "バージョン情報(&V)", IDM_VERSION
	}

}

//-------------------------
// メニュー（RMENU）
//-------------------------
RMENU MENU DISCARDABLE
{
	POPUP "dummy"
	{
		MENUITEM "選択範囲を抽出", IDM_EXTRACT
		MENUITEM "すべて抽出", IDM_EXTRACTALL
		MENUITEM SEPARATOR
		MENUITEM "変換せずに選択範囲を抽出", IDM_EXTRACT_NOTCONVERT
		MENUITEM "変換せずにすべて抽出", IDM_EXTRACTALL_NOTCONVERT
		MENUITEM SEPARATOR
		POPUP "クイック設定"
		{
			MENUITEM "OGGの検索精度を上げる", IDM_QUICKSET_STD_SEARCHOGG
			MENUITEM "フォルダごと抽出する", IDM_QUICKSET_EXTRACT_CREATEFOLDER
			MENUITEM "OGGファイルのCRCを修正する", IDM_QUICKSET_EXTRACT_FIXOGG
			MENUITEM "簡易復号機能を有効にする", IDM_QUICKSET_EXTRACT_EASYDECRYPT
			MENUITEM "PNGに変換する", IDM_QUICKSET_EXTRACT_DSTPNG
			MENUITEM "αブレンドを行う", IDM_QUICKSET_EXTRACT_ALPHABLEND
			MENUITEM "Susieプラグインを使用する", IDM_QUICKSET_SUSIE_USE
			MENUITEM "Susieプラグインを優先する", IDM_QUICKSET_SUSIE_FIRST
		}

	}

}

//-------------------------
// メニュー（SUSIEMENU）
//-------------------------
SUSIEMENU MENU DISCARDABLE
{
	POPUP "dummy"
	{
		MENUITEM "設定", IDM_SUSIE_SET
	}

}

//--------------------------
// イメージ（IDI_MAIN_TOOLBAR）
//--------------------------
IDI_MAIN_TOOLBAR	BITMAP	DISCARDABLE	"MainToolBar.bmp"

//--------------------------
// イメージ（IDI_SEARCH_TOOLBAR）
//--------------------------
IDI_SEARCH_TOOLBAR	BITMAP	DISCARDABLE	"SearchToolBar.bmp"

//--------------------------
// イメージ（IDI_ICON_APP）
//--------------------------
IDI_ICON_APP	ICON	DISCARDABLE	"ExtractData.ico"

//--------------------
// ストリングテーブル
//--------------------
STRINGTABLE DISCARDABLE
{
 idsIniFileName, "ExtractData.ini"
 idsMainWindow, "MainWindow"
 idsSetting, "Option"
 idsMainList, "MainList"
 idsLastDir, "LastDir"
 idsOpenHistory, "OpenHistory"
 idsDataBaseList, "DataBaseList"
 idsDataBaseWindow, "DataBaseWindow"
 idsSusieList, "SusieList"
 IDM_OPEN, "ファイルを開く"
 IDM_EXTRACT, "選択範囲を抽出"
 IDM_EXTRACTALL, "すべて抽出"
 IDM_AHX, "AHXを検索"
 IDM_BMP, "BMPを検索"
 IDM_JPG, "JPGを検索"
 IDM_MID, "MIDを検索"
 IDM_MPG, "MPGを検索"
 IDM_OGG, "OGGを検索"
 IDM_PNG, "PNGを検索"
 IDM_WAV, "WAVを検索"
 IDM_WMV, "WMVを検索"
}

//--------------------------------
// アクセラレーター (MYACCEL)
//--------------------------------
MYACCEL ACCELERATORS DISCARDABLE
{
 "O", IDM_OPEN, VIRTKEY, CONTROL, NOINVERT
 "W", IDM_CLOSE, VIRTKEY, CONTROL, NOINVERT
 "Q", IDM_EXIT, VIRTKEY, CONTROL, NOINVERT
 "A", IDM_SELECTALL, VIRTKEY, CONTROL, NOINVERT
 "S", IDM_EXTRACT, VIRTKEY, CONTROL, NOINVERT
 "S", IDM_EXTRACTALL, VIRTKEY, CONTROL, SHIFT, NOINVERT
 "E", IDM_OPTION, VIRTKEY, CONTROL, NOINVERT
}
