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

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

AppInspect DIALOG 30, 58, 171, 90
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Application Inspector"
FONT 8, "Arial"
BEGIN
	EDITTEXT 110, 4, 16, 118, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "&ButtonBar", 120, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 59, 44, 12
	CONTROL "&MessageBar", 130, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 71, 52, 12
	CONTROL "&Brush", ID_BRUSH, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 87, 48, 30, 12
	CONTROL "&PullDown Menu", 150, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 47, 61, 12
	CONTROL "&Icon", 109, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 87, 60, 28, 12
	PUSHBUTTON "&Ok", IDOK, 128, 16, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", IDCANCEL, 128, 36, 39, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", IDHELP, 128, 55, 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, 4, 33, 118, 53
	PUSHBUTTON "&Generate", ID_GEN, 128, 74, 39, 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"
FONT 8, "Arial"
BEGIN
	CONTROL "&Default Message:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 58, 8
	EDITTEXT 110, 5, 16, 229, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "C&entered", 120, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 48, 35, 43, 12
	PUSHBUTTON "&Ok", 1, 126, 34, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 167, 34, 32, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

barinspect DIALOG 24, 56, 142, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Button Bar"
FONT 8, "Arial"
BEGIN
	PUSHBUTTON "&Add", 120, 79, 17, 35, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&New Group", 110, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 25, 18, 46, 12
	CONTROL "3D Look", 130, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 47, 37, 12
	PUSHBUTTON "C&olor", ID_SELCOLOR, 56, 47, 34, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Close", 2, 102, 47, 34, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", 112, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 5, 3, 132, 38
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, 108
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Button Bitmap Inspector"
FONT 8, "Arial"
BEGIN
	CONTROL "&Bitmaps", 101, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 4, 3, 150, 40
	LTEXT "&Up:", -1, 18, 15, 12, 8
	EDITTEXT ID_BITMAPUP, 31, 13, 120, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	LTEXT "&Down:", -1, 9, 29, 23, 8
	EDITTEXT ID_DOWN, 31, 27, 120, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	CONTROL "&Type", 109, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 4, 45, 82, 38
	RADIOBUTTON "&Files", 104, 8, 53, 28, 12
	PUSHBUTTON "&Find", ID_FIND, 47, 53, 35, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	RADIOBUTTON "&Resources", ID_RESOURCES, 8, 67, 45, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&Action", 110, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 89, 45, 103, 38
    CONTROL "", 170, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 53, 54, 66
	CONTROL "&Check", ID_FIND, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 154, 53, 35, 12
	EDITTEXT 111, 93, 68, 96, 12
	LTEXT "&Message", -1, 6, 84, 29, 8
	EDITTEXT 108, 4, 93, 188, 12
	PUSHBUTTON "&Close", 2, 157, 7, 35, 12
END

MenuInspect DIALOG 38, 36, 142, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Menu Inspector"
FONT 8, "Arial"
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"
FONT 8, "Arial"
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 46, 42, 142, 120
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Action Inspector"
FONT 8, "Arial"
BEGIN
	CONTROL "&Window", 110, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 17, 38, 10
	CONTROL "&Report", 130, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 31, 33, 12
	CONTROL "&Dialog Box", 120, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 64, 16, 47, 12
	CONTROL "&PopMenu", 140, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 64, 31, 43, 12
	RADIOBUTTON "External EXE", 150, 8, 47, 50, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Find", 160, 104, 47, 29, 11, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	EDITTEXT 170, 6, 60, 127, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	RADIOBUTTON "CodeBlock", 180, 8, 74, 46, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	EDITTEXT 190, 6, 86, 127, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	PUSHBUTTON "&Ok", 1, 31, 106, 32, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", 2, 75, 106, 32, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "&Action", 107, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 3, 2, 133, 100
END

fiveguru ICON .\..\icons\fiveguru.ico

BrushInspect DIALOG 24, 45, 159, 67
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Brushes Inspector"
FONT 8, "Arial"
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
