#define frmFind 300
#define cmdCancel 105
#define chkCase 101
#define edtFind 102
#define cmdFind 103
#define chkMatch 104
#define lblFind 301
#define IDR_MENU 600
#define IDM_FILE_NEW 1
#define IDM_FILE_OPEN 2
#define IDM_FILE_SAVE 3
#define IDM_FILE_SAVEAS 4
#define IDM_FILE_SAVEALL 603
#define IDM_FILE_CLOSE 604
#define IDM_FILE_EXIT 5
#define IDM_EDIT_UNDO 6
#define IDM_EDIT_CUT 7
#define IDM_EDIT_COPY 8
#define IDM_EDIT_PASTE 9
#define IDM_EDIT_FINDTEXT 11
#define IDM_EDIT_FINDNEXT 12
#define IDM_EDIT_SELECTALL 13
#define IDM_PROJECT_OPEN 607
#define IDM_PROJECT_SAVE 606
#define IDM_PROJECT_ADD 609
#define IDM_PROJECT_DEL 610
#define IDM_PROJECT_CLOSE 605
#define IDM_PROJECT_COMPILE 601
#define IDM_PROJECT_RUN 602
#define IDM_OPTION_FONT 14
#define IDM_HELP_ABOUT 10
#define IDI_MAINICON 500
#define IDC_TBR 700
#define IDR_MENU_POPUP 10000
#define IDM_PROJECT_POPUP_OPEN 10003
#define IDM_PROJECT_POPUP_SAVE 10004
#define IDM_PROJECT_POPUP_ADD 10001
#define IDM_PROJECT_POPUP_DEL 10002
#define IDM_PROJECT_POPUP_CLOSE 10006
#define frmReplace 1000
#define cmdReplaceFind 1001
#define cmdReplaceReplace 1002
#define lblReplaceFind 1003
#define edtReplaceFind 1004
#define edtReplaceReplace 1005
#define lblReplaceReplace 1006
#define cmdReplaceCancel 1007
#define chkReplaceCase 1008
#define chkReplaceMatch 1009
frmFind DIALOGEX 0,0,246,79
CAPTION "Find"
FONT 8,"MS Sans Serif"
STYLE 0x90C02804
EXSTYLE 0x00000080
BEGIN
  CONTROL "Cancel",cmdCancel,"Button",NOT 0x00820000|0x50010000,188,48,50,15,0x00000000
  CONTROL "Match Case",chkCase,"Button",NOT 0x00820000|0x50010003,8,38,76,11,0x00000000
  CONTROL "Press F3 to find again",-1,"Static",NOT 0x00830000|0x50000000,64,0,86,11,0x00000000
  CONTROL "",edtFind,"Edit",NOT 0x00020000|0x50810004,46,16,124,13,0x00000200
  CONTROL "Find",cmdFind,"Button",NOT 0x00820000|0x50010300,188,27,50,15,0x00000000
  CONTROL "Match Whole Word",chkMatch,"Button",NOT 0x00820000|0x50010003,8,55,78,9,0x00000000
  CONTROL "Find What:",lblFind,"Static",NOT 0x10830000|0x40000000,4,18,36,11,0x00000000
END
IDR_MENU MENU
BEGIN
  POPUP "&File"
  BEGIN
    MENUITEM "&New",IDM_FILE_NEW
    MENUITEM "&Open",IDM_FILE_OPEN
    MENUITEM "&Save",IDM_FILE_SAVE
    MENUITEM "Save &As",IDM_FILE_SAVEAS
    MENUITEM "Save All",IDM_FILE_SAVEALL
    MENUITEM SEPARATOR
    MENUITEM "&Close",IDM_FILE_CLOSE
    MENUITEM "E&xit",IDM_FILE_EXIT
  END
  POPUP "&Edit"
  BEGIN
    MENUITEM "&Undo",IDM_EDIT_UNDO
    MENUITEM SEPARATOR
    MENUITEM "Cu&t",IDM_EDIT_CUT
    MENUITEM "&Copy",IDM_EDIT_COPY
    MENUITEM "&Paste",IDM_EDIT_PASTE
    MENUITEM "Find Text",IDM_EDIT_FINDTEXT
    MENUITEM "Find Next",IDM_EDIT_FINDNEXT
    MENUITEM "Select All",IDM_EDIT_SELECTALL
  END
  POPUP "&Project"
  BEGIN
    MENUITEM "&Open Project",IDM_PROJECT_OPEN
    MENUITEM "&Save Project",IDM_PROJECT_SAVE
    MENUITEM SEPARATOR
    MENUITEM "&Add File",IDM_PROJECT_ADD
    MENUITEM "&Delete File",IDM_PROJECT_DEL
    MENUITEM SEPARATOR
    MENUITEM "&Close Project",IDM_PROJECT_CLOSE
    MENUITEM SEPARATOR
    MENUITEM "&Compile",IDM_PROJECT_COMPILE
    MENUITEM "&Run",IDM_PROJECT_RUN
  END
  POPUP "&Option"
  BEGIN
    MENUITEM "&Change Font",IDM_OPTION_FONT
  END
  POPUP "&Help"
  BEGIN
    MENUITEM "&About",IDM_HELP_ABOUT
  END
END
IDI_MAINICON ICON DISCARDABLE "mainicon.ico"
IDC_TBR BITMAP DISCARDABLE "Toolbar.bmp"
IDR_MENU_POPUP MENU
BEGIN
  POPUP "Project"
  BEGIN
    MENUITEM "Open Project",IDM_PROJECT_POPUP_OPEN
    MENUITEM "Save Project",IDM_PROJECT_POPUP_SAVE
    MENUITEM SEPARATOR
    MENUITEM "Add File",IDM_PROJECT_POPUP_ADD
    MENUITEM "Delete File",IDM_PROJECT_POPUP_DEL
    MENUITEM SEPARATOR
    MENUITEM "Close Project",IDM_PROJECT_POPUP_CLOSE
  END
END
frmReplace DIALOGEX 6,5,194,83
CAPTION "Replace"
FONT 8,"MS Sans Serif"
STYLE 0x10CF0800
EXSTYLE 0x00000080
BEGIN
  CONTROL "Find",cmdReplaceFind,"Button",NOT 0x00820000|0x50010000,152,11,38,13,0x00000000
  CONTROL "Replace",cmdReplaceReplace,"Button",NOT 0x00820000|0x50010000,152,27,40,15,0x00000000
  CONTROL "Find What",lblReplaceFind,"Static",NOT 0x00830000|0x50000000,2,14,38,9,0x00000000
  CONTROL "",edtReplaceFind,"Edit",NOT 0x00820000|0x50010000,54,12,82,13,0x00000200
  CONTROL "",edtReplaceReplace,"Edit",NOT 0x00820000|0x50010000,54,33,82,13,0x00000200
  CONTROL "Replace With:",lblReplaceReplace,"Static",NOT 0x00830000|0x50000000,2,35,48,9,0x00000000
  CONTROL "Cancel",cmdReplaceCancel,"Button",NOT 0x00820000|0x50010000,152,48,40,15,0x00000000
  CONTROL "Match Case",chkReplaceCase,"Button",NOT 0x00820000|0x50010003,2,49,76,11,0x00000000
  CONTROL "Match Whole Word",chkReplaceMatch,"Button",NOT 0x00820000|0x50010003,2,66,78,9,0x00000000
END
