#include <RESOURCE.H>

#define   IDC_STATIC    -1

#define   IDM_NEW       1001
#define   IDM_OPEN      1002
#define   IDM_SAVE      1003
#define   IDM_CUT       1004
#define   IDM_COPY      1005
#define   IDM_PASTE     1006
#define   IDM_DELETE    1007
#define   IDM_FIND      1008
#define   IDM_FINDNEXT  1009
#define   IDM_FINDPREV  1010
#define   IDM_REPLACE   1011
#define   IDM_EXIT      1012
#define   IDM_SELALL    3001
#define   IDM_TOOLBAR   8001
#define   IDM_MENU      8002
#define   IDM_TAB       8003
#define   IDM_DIALOG    8040

#define   IDD_DLG01     7000
#define   IDC_STATIC01  7001
#define   IDC_STATIC02  7002
#define   IDC_STATIC03  7003
#define   IDC_STATIC04  7004
#define   IDC_STATIC05  7005
#define   IDC_STATIC06  7006
#define   IDC_STATIC07  7007
#define   IDC_GRP01     7008
#define   IDC_GRP02     7009
#define   IDC_STATIC08  7010
#define   IDC_STATIC09  7011

#define   IDC_LISTBOX01 2001
#define   IDC_LISTBOX02 2002
#define   IDC_LISTBOX03 2003
#define   IDC_RITIMID   2004
#define   IDC_RNAME     2005
#define   IDC_BINSERT   2006
#define   IDC_BADD      2007
#define   IDC_BREMOVE   2008
#define   IDC_BMOVEU    2009
#define   IDC_BMOVED    2010
#define   IDC_BSTYLESU  2011
#define   IDC_BSTYLESR  2012
#define   IDC_BRESTORE  2013
#define   IDC_BBUILD    2014
#define   IDC_BCHANGEW  2015
#define   IDC_BCHANGEH  2016
#define   IDC_CHK01     2017
#define   IDC_CHK02     2018
#define   IDC_CHK03     2019
#define   IDC_CHK04     2020
#define   IDC_CHK05     2021
#define   IDC_CHK06     2022
#define   IDC_CHK09     2023
#define   IDC_CHK10     2024
#define   IDC_ETOOLTEXT 2025
#define   IDC_ETOOLTIP  2026
#define   IDC_EIDNAME   2027
#define   IDC_ESTARTID  2028
#define   IDC_ECHANGEW  2029
#define   IDC_ECHANGEH  2030
#define   IDC_COMBO01   2031
#define   IDC_COMBO02   2032

;NOTE!! You may need to change the paths to the proper directory
701       BITMAP  DISCARDABLE     "Res\\B01_New.bmp"
702       BITMAP  DISCARDABLE     "Res\\B02_Open.bmp"
703       BITMAP  DISCARDABLE     "Res\\B03_Save.bmp"
704       BITMAP  DISCARDABLE     "Res\\B05_Cut.bmp"
705       BITMAP  DISCARDABLE     "Res\\B06_Copy.bmp"
706       BITMAP  DISCARDABLE     "Res\\B07_Paste.bmp"
707       BITMAP  DISCARDABLE     "Res\\B08_Delete.bmp"
708       BITMAP  DISCARDABLE     "Res\\B11_Find.bmp"
709       BITMAP  DISCARDABLE     "Res\\B12_FindNext.bmp"
710       BITMAP  DISCARDABLE     "Res\\B13_FindPrev.bmp"
711       BITMAP  DISCARDABLE     "Res\\B14_Replace.bmp"
712       BITMAP  DISCARDABLE     "Res\\B16_Exit.bmp"

STRINGTABLE DISCARDABLE
BEGIN
/* toolbar tips */
    IDM_NEW       "New"
    IDM_OPEN      "Open"
    IDM_SAVE      "Save"
    IDM_EXIT      "Exit this edit program"
    IDM_CUT       "Cut"
    IDM_COPY      "Copy"
    IDM_PASTE     "Paste"
    IDM_DELETE    "Delete"
    IDM_FIND      "Find"
    IDM_FINDNEXT  "Find next match"
    IDM_FINDPREV  "Find previous match"
    IDM_REPLACE   "Replace"
END

MainMenu  MENU DISCARDABLE
BEGIN
   POPUP "&File"
   BEGIN
      MENUITEM "E&xit",               IDM_EXIT
   END
   POPUP "&Create"
   BEGIN
      MENUITEM "Create Toolbar",      IDM_TOOLBAR
;      MENUITEM "Create Statusbar",    IDM_MENU,    GRAYED
;      MENUITEM "Create Tab Control",  IDM_MENU,    GRAYED
   END
END

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

IDD_DLG01 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0,15,308,213
CAPTION "Create Toolbar"
FONT    8, "MS Sans Serif"
STYLE   0x14C00000
EXSTYLE 0x00000180
BEGIN
    CONTROL "Close",IDCANCEL,"button",0x50010000,257,3,46,11,0x00000000
    CONTROL "Availible Toolbar Buttons:",IDC_STATIC01,"static",0x50000100,6,4,83,8,0x00000000
    CONTROL "",IDC_LISTBOX01,"listbox",0x50210153,6,14,93,92,0x00000200
    CONTROL "Insert->",IDC_BINSERT,"button",0x50010000,105,41,46,11,0x00000000
    CONTROL "Add to end->",IDC_BADD,"button",0x50010000,105,56,46,11,0x00000000
    CONTROL "<-Remove",IDC_BREMOVE,"button",0x50010000,105,70,46,11,0x00000000
    CONTROL "Current Toolbar Buttons:",IDC_STATIC02,"static",0x50000100,157,4,83,8,0x00000000
    CONTROL "",IDC_LISTBOX02,"listbox",0x50210151,157,14,93,92,0x00000200
    CONTROL "Move Up",IDC_BMOVEU,"button",0x50010000,257,49,46,11,0x00000000
    CONTROL "Move Down",IDC_BMOVED,"button",0x50010000,257,62,46,11,0x00000000
    CONTROL "Toolbar Styles",IDC_GRP01,"button",0x54000007,5,112,146,96,0x00000000
    CONTROL "Update",IDC_BSTYLESU,"button",0x50010000,115,188,30,9,0x00000000
    CONTROL "Reset",IDC_BSTYLESR,"button",0x50010000,115,177,30,9,0x00000000
    CONTROL "Edit/Add Toolbar Text",IDC_STATIC06,"static",0x50000101,157,113,93,8,0x00000000
    CONTROL "",IDC_ETOOLTEXT,"edit",0x50010080,157,120,93,11,0x00000200
    CONTROL "Edit/Add Tooltip",IDC_STATIC05,"static",0x50000101,157,132,93,8,0x00000000
    CONTROL "",IDC_ETOOLTIP,"edit",0x50010080,157,139,93,11,0x00000200
    CONTROL "Use",IDC_GRP02,"button",0x54000007,105,10,46,28,0x00000000
    CONTROL "ID",IDC_RITIMID,"button",0x50010009,109,18,35,8,0x00000000
    CONTROL "Name",IDC_RNAME,"button",0x50010009,109,26,35,8,0x00000000
    CONTROL "Edit ID/Name",IDC_STATIC03,"static",0x50000101,105,86,46,8,0x00000000
    CONTROL "",IDC_EIDNAME,"edit",0x50010088,105,93,46,11,0x00000200
    CONTROL "Start ID",IDC_STATIC04,"static",0x50000101,257,16,46,8,0x00000000
    CONTROL "",IDC_ESTARTID,"edit",0x50012000,267,24,26,11,0x00000200
    CONTROL "Change button width",IDC_BCHANGEW,"button",0x50010000,157,154,75,11,0x00000000
    CONTROL "",IDC_ECHANGEW,"edit",0x50010000,235,154,16,11,0x00000200
    CONTROL "Change button height",IDC_BCHANGEH,"button",0x50010000,157,167,75,11,0x00000000
    CONTROL "",IDC_ECHANGEH,"edit",0x50010000,235,167,16,11,0x00000200
    CONTROL "Toolbar Btns",IDC_STATIC07,"static",0x50000101,256,80,50,8,0x00000000
    CONTROL "Starter Set",IDC_CHK09,"button",0x50010003,257,89,48,8,0x00000000
    CONTROL "Clear Btns",IDC_CHK10,"button",0x50010003,257,98,48,8,0x00000000
    CONTROL "",IDC_LISTBOX03,"listbox",0x50200149,10,120,101,84,0x00000200
    CONTROL "Text Only",IDC_CHK01,"button",0x50010003,157,181,50,8,0x00000000
    CONTROL "Customize Toolbar",IDC_CHK02,"button",0x50010003,157,190,76,8,0x00000000
    CONTROL "Explorer Toolbar",IDC_CHK03,"button",0x50010003,157,200,76,8,0x00000000
    CONTROL "Add Float Toolbar",IDC_CHK04,"button",0x50010003,235,181,90,8,0x00000000
    CONTROL "Docking Toolbar",IDC_CHK05,"button",0x50010003,235,190,90,8,0x00000000
    CONTROL "Change State",IDC_STATIC08,"static",0x50000101,257,113,46,8,0x00000000
    CONTROL "",IDC_COMBO01,"combobox",0x50200603,257,120,46,70,0x00000000
    CONTROL "Change Style",IDC_STATIC09,"static",0x50000101,257,132,46,8,0x00000000
    CONTROL "",IDC_COMBO02,"combobox",0x50200603,257,139,46,70,0x00000000
    CONTROL "Restore",IDC_BRESTORE,"button",0x50010000,257,154,46,11,0x00000000
    CONTROL "Build Code",IDC_BBUILD,"button",0x50010000,257,167,46,11,0x00000000
END

