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

//----------------------------------
// ダイアログ (IDD_MAIN)
//----------------------------------
IDD_MAIN DIALOG DISCARDABLE 0, 0, 480, 270
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_TOPMOST
STYLE WS_POPUP | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | DS_SETFONT | DS_CENTER
CAPTION L"FileList"
MENU IDM_FORM_MENU
FONT 9, L"ＭＳ 明朝"
{
 CONTROL L"", IDC_STATUSBAR, L"MSCTLS_STATUSBAR32", WS_CHILD | WS_VISIBLE | SBT_TOOLTIPS | CCS_TOP | CCS_NOMOVEY, 0, 0, 480, 12
 CONTROL L"", IDC_TOOLBAR, L"TOOLBARWINDOW32", WS_CHILD | WS_VISIBLE | WS_BORDER |TBSTYLE_SEP | TBSTYLE_TOOLTIPS, 0, 0, 480, 19
 CONTROL L"", IDC_LISTVIEW, L"SYSLISTVIEW32", WS_CHILD | WS_VISIBLE | WS_BORDER | LVS_REPORT, 0, 21, 480, 235, WS_EX_CLIENTEDGE
}

//----------------------------------
// ダイアログで使用するメニュー
//----------------------------------
IDM_FORM_MENU MENU DISCARDABLE
{
	POPUP L"ファイル(&F)"
	{
		MENUITEM L"リストを開く(&O)", IDM_OPEN
		MENUITEM SEPARATOR
		MENUITEM L"リストの保存(&S)", IDM_SAVE
		MENUITEM SEPARATOR
		MENUITEM L"終了(&X)", IDM_EXIT
	}
	POPUP L"編集(&E)"
	{
		MENUITEM L"追加(&A)", IDM_ADD
		MENUITEM L"検索(&S)", IDM_SEARCH
		MENUITEM L"編集(&E0", IDM_EDIT
		MENUITEM L"削除(&D)", IDM_DELETE
	}
	POPUP L"表示(&V)"
	{
		MENUITEM L"並び替え(&S)", IDM_SORT
	}
	POPUP L"ヘルプ(&H)"
	{
		MENUITEM L"バージョン情報(&V)", IDM_VERSION
	}

}

//----------------------------------
// ダイアログ (IDD_EDIT)
//----------------------------------
IDD_EDIT DIALOG DISCARDABLE 0, 0, 360, 132
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_DLGFRAME | WS_CAPTION | WS_SYSMENU | DS_SETFONT | DS_CENTER
CAPTION L"リストの編集"
FONT 9, L"ＭＳ 明朝"
{
 CONTROL L"", IDC_EDIT1, L"EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_LEFT | ES_NUMBER, 87, 9, 264, 12, WS_EX_CLIENTEDGE
 CONTROL L"", IDC_EDIT2, L"EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | ES_AUTOHSCROLL | ES_LEFT | ES_READONLY, 87, 24, 264, 12, WS_EX_CLIENTEDGE
 CONTROL L"", IDC_EDIT3, L"EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | ES_LEFT | WS_VSCROLL | ES_WANTRETURN, 87, 39, 264, 66
 CONTROL L"編集終了", IDOK, L"BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 288, 110, 60, 18
 CONTROL L"再生順", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN, 6, 9, 75, 12
 CONTROL L"ファイル名", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN, 6, 24, 75, 12
 CONTROL L"備考", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY | SS_SUNKEN, 6, 39, 75, 15
}

//----------------------------------
// ダイアログ (IDD_SEARCH)
//----------------------------------
IDD_SEARCH DIALOG DISCARDABLE 0, 0, 180, 48
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_SETFONT | DS_CENTER
CAPTION L"リストの検索"
FONT 9, L"ＭＳ 明朝"
{
 CONTROL L"", IDC_EDIT1, L"EDIT", WS_CHILD | WS_BORDER | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL | ES_LEFT, 3, 15, 171, 12, WS_EX_CLIENTEDGE
 CONTROL L"OK", IDOK, L"BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON, 66, 30, 45, 15
 CONTROL L"検索する文字列", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 6, 3, 123, 9
}

//----------------------------------
// ダイアログ (IDD_SORT)
//----------------------------------
IDD_SORT DIALOG DISCARDABLE 0, 0, 189, 87
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_SETFONT | DS_CENTER
CAPTION L"リストの並べ替え"
FONT 9, L"ＭＳ 明朝"
{
 CONTROL L"", IDC_COMBOBOX1, L"COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | WS_VSCROLL, 12, 18, 165, 60
 CONTROL L"", IDC_COMBOBOX2, L"COMBOBOX", WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST | WS_VSCROLL, 12, 48, 165, 60
 CONTROL L"サブアイテムの選択", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 15, 6, 93, 9
 CONTROL L"並べ替え方法", 0, L"STATIC", WS_CHILD | WS_VISIBLE | SS_NOTIFY, 15, 36, 93, 9
 CONTROL L"完了", IDOK, L"BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 75, 66, 39, 15
}

//----------------------------------
// ダイアログ (IDD_VERSION)
//----------------------------------
IDD_VERSION DIALOG DISCARDABLE 0, 0, 186, 40
EXSTYLE WS_EX_DLGMODALFRAME
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_MODALFRAME | DS_3DLOOK | DS_CENTER
CAPTION L"バージョン情報"
FONT 9, L"Times New Roman"
{
 CONTROL IDI_ICON, 0, L"STATIC", SS_SUNKEN | SS_ICON | WS_CHILD | WS_VISIBLE, 6, 6, 26, 26
 CONTROL L"FileList Ver 1.0\r\n(c) Copyright by Ysama 2022", 0, L"STATIC", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 40, 6, 102, 24
 CONTROL L"OK", IDOK, L"BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 150, 12, 32, 16
}

//----------------------------------
// ダイアログで使用するイメージ
//----------------------------------
IDI_ICON	ICON	DISCARDABLE	"Icon.ico"


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