#include ".\..\include\WinApi.ch"
#include "FiveGuru.ch"

MenuInsp BITMAP .\..\bitmaps\menuinsp.bmp

AppInspect DIALOG 23, 30, 216, 107
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Application Inspector"
FONT 8, "Arial"
BEGIN
	EDITTEXT 110, 4, 16, 167, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "&ButtonBar", 120, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 60, 44, 12
	CONTROL "&MessageBar", 130, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 72, 52, 12
	CONTROL "&Brush", ID_BRUSH, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 87, 49, 30, 12
	CONTROL "&PullDown Menu", 150, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 48, 61, 12
	CONTROL "&Icon", 109, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 87, 61, 28, 12
	PUSHBUTTON "&Ok", IDOK, 17, 92, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", IDCANCEL, 64, 92, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", IDHELP, 112, 92, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	LTEXT "Main Title:", -1, 5, 7, 36, 8
	CONTROL "&Elements", 110, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 34, 119, 53
	PUSHBUTTON "&Generate", ID_GEN, 160, 92, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Add Control", 300, 126, 38, 44, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

msginspect DIALOG 22, 74, 238, 54
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Message Bar"
BEGIN
	EDITTEXT 110, 5, 16, 229, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	PUSHBUTTON "&Ok", 1, 82, 34, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 123, 34, 32, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "Current Message:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 58, 8
END

barinspect DIALOG 24, 56, 142, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Button Bar"
BEGIN
	PUSHBUTTON "&Add", 120, 102, 5, 35, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Ok", 1, 34, 48, 31, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 75, 48, 32, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&New Group", 110, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 5, 46, 12
	CONTROL "Actual Color", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 27, 41, 8
    PUSHBUTTON "&Select Color", ID_SELCOLOR, 48, 25, 58, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

controls DIALOG 17, 26, 142, 92
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add a Control..."
FONT 8, "Arial"
BEGIN
	CONTROL "&Type of control", 101, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 4, 6, 133, 65
	CONTROL "&PushButton", ID_PUSHBUTTON, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 10, 19, 49, 12
	CONTROL "&CheckBox", ID_CHECKBOX, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 31, 43, 12
	CONTROL "&ListBox", ID_LISTBOX, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 43, 38, 12
	PUSHBUTTON "&Ok", 1, 32, 76, 35, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 74, 76, 35, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

btnbmpinspect DIALOG 18, 30, 195, 64
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Button Bitmap Inspector"
BEGIN
	CONTROL "&Images", 101, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 4, 3, 150, 43
	LTEXT "&Up:", -1, 9, 18, 12, 8
	EDITTEXT ID_BITMAPUP, 31, 16, 120, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	LTEXT "&Down:", -1, 9, 32, 23, 8
	EDITTEXT ID_DOWN, 31, 30, 120, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "&Files", ID_BITMAPFILE, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 49, 27, 12
	RADIOBUTTON "&Resources", ID_RESOURCES, 33, 49, 45, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
    PUSHBUTTON "&Ok", 108, 157, 7, 35, 12
    PUSHBUTTON "&Cancel", 2, 157, 21, 35, 12
	PUSHBUTTON "&Find", ID_FIND, 157, 35, 35, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Action", ID_ACTION, 157, 49, 35, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

MenuInspect DIALOG 38, 36, 142, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Menu Inspector"
BEGIN
	CONTROL "&MenuItem", 102, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 7, 10, 42, 12
	CONTROL "&SubMenu", 104, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 21, 41, 12
	CONTROL "&Popup", 105, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 32, 31, 12
	PUSHBUTTON "&Add", 103, 103, 6, 35, 12
	PUSHBUTTON "&Remove", 103, 103, 21, 35, 12
	PUSHBUTTON "&Ok", 103, 32, 51, 35, 12
	PUSHBUTTON "&Cancel", 103, 75, 51, 35, 12
	CONTROL "&Select", 101, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 2, 95, 45
END

MenuItemInspect DIALOG 17, 27, 203, 98
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "MenuItem Inspector"
BEGIN
    PUSHBUTTON "&Execute", ID_EXECUTE, 96, 79, 37, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&Action", 108, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 69, 139, 25
	CONTROL "&Properties", 106, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 5, 139, 63
	LTEXT "&Prompt:", -1, 7, 20, 27, 8
	EDITTEXT 101, 36, 18, 103, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "&Separator", 102, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 34, 44, 12
	CONTROL "&Checked", 103, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 45, 40, 12
	CONTROL "&Enabled", 104, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 56, 38, 12
	LTEXT "&Bitmap:", -1, 72, 43, 26, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	PUSHBUTTON "&Find", 105, 107, 39, 32, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	EDITTEXT 106, 72, 54, 67, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	PUSHBUTTON "&Add MenuItem", 109, 147, 9, 52, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Add SubMenu", 109, 147, 26, 52, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", ID_ACTION, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 79, 67, 53
END
ActionInspect DIALOG 18, 18, 142, 68
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Action Inspector"
BEGIN
	CONTROL "&Action", 107, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 2, 133, 48
	CONTROL "&PopMenu", 108, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 60, 34, 43, 12
	CONTROL "&Dialog Box", 109, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 6, 13, 47, 12
	CONTROL "&Window", 110, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 6, 24, 38, 10
	CONTROL "&Report", 111, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 60, 13, 33, 12
	CONTROL "&Function", 112, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 60, 24, 38, 12
	PUSHBUTTON "&Ok", 105, 31, 53, 32, 12
	PUSHBUTTON "&Cancel", 105, 75, 53, 32, 12
END

fiveguru ICON "fiveguru.ico"

BrushInspect DIALOG 24, 45, 159, 67
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Brushes Inspector"
BEGIN
	CONTROL "&Borland", ID_BORLAND, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 13, 36, 12
	CONTROL "&Tiled", ID_TILED, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 24, 28, 12
	CONTROL "&Bricks", ID_BRICKS, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 9, 35, 30, 12
	CONTROL "&New looks", 104, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 4, 55, 45
	PUSHBUTTON "&Ok", ID_OK, 56, 52, 31, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", ID_CANCEL, 93, 52, 31, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "Select a &Color", ID_COLORSELECT, 62, 8, 57, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
