#include <RESOURCE.H>

; Constants for menu
#define   IDC_STATIC  -1

#define   IDM_EXIT    2
#define   IDM_COLOR   3
#define   IDB_TOOL    7002
#define   IDB_TOOLS   7003

#define   IDM_CUT     1005
#define   IDM_COPY    1006
#define   IDM_PASTE   1007
#define   IDM_DEL     1008
#define   IDM_SELALL  1009


898                     CURSOR  DISCARDABLE     "Res\\SplitV.cur"
899                     CURSOR  DISCARDABLE     "Res\\SplitH.cur"
900                     BITMAP  DISCARDABLE     "Res\\TreeDemo.bmp"
901                     BITMAP  DISCARDABLE     "Res\\Pat2.bmp"
902                     BITMAP  DISCARDABLE     "Res\\Pat3.bmp"
903                     BITMAP  DISCARDABLE     "Res\\Pat4.bmp"
904                     BITMAP  DISCARDABLE     "Res\\Pat6.bmp"
IDB_TOOL                BITMAP  DISCARDABLE     "Res\\Toolbar.bmp"
IDB_TOOLS               BITMAP  DISCARDABLE     "Res\\ToolbarS.bmp"
8808                    BITMAP  DISCARDABLE     "Res\\DArrow.bmp"
8809                    BITMAP  DISCARDABLE     "Res\\Argyle.bmp"
8810                    ICON    DISCARDABLE     "Res\\AsmEdit.ico"

STRINGTABLE DISCARDABLE
BEGIN

/* toolbar tips */

    7501     "Draw Main Window"
    7502     "Static"
    7503     "GroupBox"
    7504     "Radio button"
    7505     "CheckBox"
    7506     "Button"
    7507     "Edit"
    7508     "Rich edit"
    7509     "ComboBox"
    7510     "ListBox"
    7511     "Treeview"
    7512     "Listview"
    7513     "Toolbar"
    7514     "Statusbar"
    7515     "HScroll"
    7516     "VScroll"
    7517     "Progessbar"
    7518     "Trackbar"
    7519     "UpDown"
    7520     "Tab Ctrl"
    7521     "Month view"
    7522     "Date/Time picker"
    7523     "Bitmap"
    7524     "Icon"
    7525     "Animated Icon"
    7526     "Animated Ctrl"
    7527     "IP Address Ctrl"
    7528     "Hot Key Ctrl"
    7529     "Custom Ctrl"
    7530     "N/A"
END

PopupMenu  MENU DISCARDABLE
BEGIN
   POPUP "&Edit"
   BEGIN
      MENUITEM "Cu&t",             IDM_CUT
      MENUITEM "&Copy",            IDM_COPY
      MENUITEM "&Paste",           IDM_PASTE
      MENUITEM "&Delete",          IDM_DEL
      MENUITEM SEPARATOR                        
      MENUITEM "&Select All",      IDM_SELALL
   END
END

ResourceMenu  MENU DISCARDABLE
BEGIN
   POPUP "&Edit"
   BEGIN
      MENUITEM "&Copy",            IDM_COPY
      MENUITEM "&Paste",           IDM_PASTE
      MENUITEM SEPARATOR
      MENUITEM "&Delete Control",  IDM_DEL
   END
END

FileMenu  MENU DISCARDABLE
BEGIN
    POPUP "&File"
    BEGIN
       MENUITEM "&Open",             3002
       MENUITEM SEPARATOR
;       MENUITEM "&Save\tF4",         3003
;       MENUITEM "Save &As\tCtrl+F4", 3004
    END
END

3100  MENU DISCARDABLE
BEGIN
    POPUP "&File"
    BEGIN
       MENUITEM "&New",              3001
       MENUITEM "&Open",             3002
       MENUITEM SEPARATOR
       MENUITEM "&Save\tF4",         3003
       MENUITEM "Save &As\tCtrl+F4", 3004, GRAYED
       MENUITEM SEPARATOR
       MENUITEM "&Exit\tF3",         3005
    END
END

;WS_POPUP
4000 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 135, 286 ;0, 0, 135, 286
FONT 8, "MS Sans Serif"
STYLE DS_MODALFRAME | WS_CHILD | WS_CLIPSIBLINGS
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
BEGIN
    CONTROL "Tab1", 702, "SysTabControl32", TCS_MULTILINE, 0, 0, 135, 292 ; Controls the size of the dlgs
;    CONTROL "EXIT", IDCANCEL, "button", WS_CHILD, 50, 295, 35, 10

END

4803 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 1, 15, 132, 274 ;1, 24, 132, 265
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
END

;4805 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 1, 15, 132, 274 ;1, 24, 132, 265
;STYLE WS_CHILD
;FONT 8, "MS Sans Serif"
;BEGIN
;    CONTROL "", 431, "button", WS_CHILD | BS_GROUPBOX, 4, 0, 124, 272 ;4, 0, 124, 263
;    CONTROL "Build The Output File", 601, "button", WS_BORDER | BS_PUSHBUTTON,
;            09, 52, 114, 13
;    CONTROL "Save File", 602, "button", WS_BORDER | BS_PUSHBUTTON,
;            09, 68, 114, 13
;    CONTROL "Save File As", 603, "button", WS_BORDER | BS_PUSHBUTTON,
;            09, 84, 114, 13
;    CONTROL "Clear the edit screen", 605, "button", WS_BORDER | BS_PUSHBUTTON,
;            09, 132, 114, 13
;END

4805 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 1, 15, 132, 274
FONT    8, "MS Sans Serif"
STYLE   0x40000000
EXSTYLE 0x00000000
BEGIN
    CONTROL "",431,"button",0x54000007,4,0,124,272,0x00000000
    CONTROL "Build The Output File",601,"button",0x50800000,9,187,114,12,0x00000000
    CONTROL "Save File As",603,"button",0x50800000,9,202,114,12,0x00000000
    CONTROL "Clear the edit screen",605,"button",0x50800000,9,230,114,12,0x00000000
    CONTROL "For a more comprehensive method for creating the Toolbar, Button, and Tab Controls \
            use the ToolBuild, ButtBuild or the TabBuild programs.",
            IDC_STATIC,"static",0x50001101,9,8,114,35,0x00000000
    CONTROL "Yes",606,"button",0x50010003,9,67,26,8,0x00000000
    CONTROL "Would you like the support code for some of the created controls?",
            IDC_STATIC,"static",0x50000100,9,49,114,15,0x00000000
    CONTROL "Select the controls for the support code.",607,"static",0x50000101,9,78,110,16,0x00000000
    CONTROL "",608,"listbox",0x50200149,9,96,113,80,0x00000000 ;0x50200141
END

4902 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0, 0, 0, 0
STYLE WS_POPUP | WS_VISIBLE | WS_BORDER
FONT 8, "MS Sans Serif"
BEGIN
END

6000 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 6,0,124,96
CAPTION "Options"
FONT    8,"MS Sans Serif"
STYLE   0x94C80000
EXSTYLE 0x00000180
BEGIN
    CONTROL "Show Grid",601,"button",0x50000003,4,3,46,9,0x00000000
    CONTROL "Snap To Grid",607,"button",0x50000003,54,3,57,9,0x00000000
    CONTROL "Grid Size",0,"button",0x54000007,4,12,117,20,0x00000000
    CONTROL "2",602,"button",0x50000009,6,20,20,9,0x00000000
    CONTROL "3",603,"button",0x50000009,26,20,20,9,0x00000000
    CONTROL "4",604,"button",0x50000009,46,20,20,9,0x00000000
    CONTROL "6",606,"button",0x50000009,66,20,20,9,0x00000000
    CONTROL "Use my convert routine",608,"button",0x50010003,4,35,92,9,0x00000000
    CONTROL "Set Default Styles",609,"button",0x50010000,4,48,116,12,0x00000000
    CONTROL "Restore All Default Styles",610,"button",0x50010000,4,64,116,12,0x00000000
    CONTROL "Clear All Controls From Memory",605,"button",0x50010000,4,80,116,12,0x00000000
END

8000 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE -2,35,131,166 ;154
CAPTION "Alignment - Size - Shift - Space"
FONT    8, "MS Sans Serif"
STYLE   0x14C80000
EXSTYLE 0x00000180
BEGIN
    CONTROL "Alignment",40,"button",0x54000007,3,3,65,56,0x00000000
    CONTROL "Left",2001,"button",0x50010000,8,12,33,9,0x00000000
    CONTROL "Top",2002,"button",0x50010000,8,23,33,9,0x00000000
    CONTROL "Right",2003,"button",0x50010000,8,34,33,9,0x00000000
    CONTROL "Bottom",2004,"button",0x50010000,8,45,33,9,0x00000000
    CONTROL "Shift",41,"button",0x54000007,3,60,65,56,0x00000000
    CONTROL "Left",2005,"button",0x50010000,8,69,33,9,0x00000000
    CONTROL "Up",2006,"button",0x50010000,8,80,33,9,0x00000000
    CONTROL "Right",2007,"button",0x50010000,8,91,33,9,0x00000000
    CONTROL "Down",2008,"button",0x50010000,8,102,33,9,0x00000000
    CONTROL "1",3012,"edit",0x50010000,48,69,13,9,0x00000000
    CONTROL "1",3013,"edit",0x50010000,48,80,13,9,0x00000000
    CONTROL "1",3014,"edit",0x50010000,48,91,13,9,0x00000000
    CONTROL "1",3015,"edit",0x50010000,48,102,13,9,0x00000000
    CONTROL "Size",42,"button",0x54000007,84,3,44,56,0x00000000
    CONTROL "Width",2009,"button",0x50010000,89,12,33,9,0x00000000
    CONTROL "Height",2010,"button",0x50010000,89,23,33,9,0x00000000
    CONTROL "Both",2011,"button",0x50010000,89,34,33,9,0x00000000
    CONTROL "Set Size",2012,"button",0x50010000,89,45,33,9,0x00000000
    CONTROL "Set Size",43,"button",0x54000007,84,60,44,56,0x00000000
    CONTROL "Wth:",50,"static",0x50000100,89,69,15,9,0x00000000
    CONTROL "",3016,"edit",0x50010000,109,69,13,9,0x00000000
    CONTROL "Hgt:",60,"static",0x50000100,89,80,15,9,0x00000000
    CONTROL "",3017,"edit",0x50010000,109,80,13,9,0x00000000
    CONTROL "Set Spaces",44,"button",0x54000007,3,117,65,34,0x00000000
    CONTROL "Vert",2013,"button",0x50010000,8,126,33,9,0x00000000
    CONTROL "Horz",2014,"button",0x50010000,8,137,33,9,0x00000000
    CONTROL "2",3018,"edit",0x50010000,48,126,13,9,0x00000000
    CONTROL "2",3019,"edit",0x50010000,48,137,13,9,0x00000000
    CONTROL "Tab Index",45,"button",0x54000007,84,117,44,34,0x00000000
    CONTROL "Re Num",2015,"button",0x50010000,89,126,33,9,0x00000000
    CONTROL "Undo the last change",2016,"button",0x50010000,3,154,124,9,0x00000000
END

5100 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 104,0,224,132
CAPTION ""
FONT    8, "Tahoma"
STYLE   0x94C80000
EXSTYLE 0x00000180
BEGIN
    CONTROL "",431,"button",0x54000007,3,0,218,129,0x00000000
    CONTROL "Control Type",IDC_STATIC,"static",0x50000101,89,7,45,8,0x00000000
    CONTROL "",411,"combobox",0x50200E02,76,16,69,81,0x00000000
    CONTROL "StyleEx",IDC_STATIC,"static",0x50000101,41,24,30,8,0x00000000
    CONTROL "Style",IDC_STATIC,"static",0x50000101,151,24,20,8,0x00000000
    CONTROL "",412,"listbox",0x50200149,7,34,102,75,0x00000000   ;0x50A01941 0x50A01942
    CONTROL "",413,"listbox",0x50200149,113,34,103,75,0x00000000 ;0x50A01940
    CONTROL "Restore All Defaults",601,"button",0x50000000,7,112,69,12,0x00000000
    CONTROL "Restore Ctrl Defaults",602,"button",0x50000000,77,112,69,12,0x00000000
    CONTROL "Update Ctrl Defaults",603,"button",0x50000000,147,112,69,12,0x00000000
END

