#include <\MASM32V1\PROGRAMS\AsmEdit\INCLUDE\RESOURCE.H>

#define   IDM_NEW      1001
#define   IDM_OPEN     1002
#define   IDM_SAVE     1003
#define   IDM_SAVEAS   1004
#define   IDM_SAVEALL  1005
#define   IDM_PRINT    1006
#define   IDM_CLOSETAB 2000
#define   IDM_EXIT     2001
#define   IDM_CUT      1007
#define   IDM_COPY     1008
#define   IDM_PASTE    1009
#define   IDM_DEL      1010
#define   IDM_UNDO     1011
#define   IDM_REDO     1012
#define   IDM_SELALL   1013
#define   IDM_VIEW     1014
#define   IDM_CHOOSEF  1015
#define   IDM_CHOOSEC  1016
#define   IDM_BACKGRN  1017
#define   IDM_FIND     1018
#define   IDM_FINDN    1019
#define   IDM_FINDP    1020
#define   IDM_REPLACE  1021

799       BITMAP  DISCARDABLE     "Toolbar04.bmp"
899       CURSOR  DISCARDABLE     "Split.cur"

STRINGTABLE DISCARDABLE
BEGIN

/* toolbar tips */

    IDM_NEW       "New"
    IDM_OPEN      "Open"
    IDM_SAVE      "Save"
    IDM_SAVEALL   "Save All"
    IDM_EXIT      "Exit this edit program"
    IDM_CUT       "Cut"
    IDM_COPY      "Copy"
    IDM_PASTE     "Paste"
    IDM_DEL       "Delete"
    IDM_UNDO      "Undo"
    IDM_REDO      "Redo"
    IDM_FIND      "Find"
    IDM_FINDN     "Find next match"
    IDM_FINDP     "Find previous match"
    IDM_REPLACE   "Replace"
END

MainMenu  MENU DISCARDABLE
BEGIN
   POPUP "&File"
   BEGIN
      MENUITEM "&New",          IDM_NEW
      MENUITEM "&Open",         IDM_OPEN
      MENUITEM "&Save",         IDM_SAVE
      MENUITEM "&Save As",      IDM_SAVEAS
      MENUITEM SEPARATOR
      MENUITEM "&Save All",     IDM_SAVEALL
      MENUITEM SEPARATOR
      MENUITEM "&Close Tab",    IDM_CLOSETAB
      MENUITEM SEPARATOR
      MENUITEM "E&xit",         IDM_EXIT
   END
   POPUP "&Edit"
   BEGIN
      MENUITEM "Cu&t",          IDM_CUT
      MENUITEM "&Copy",         IDM_COPY
      MENUITEM "&Paste",        IDM_PASTE
      MENUITEM "&Delete",       IDM_DEL
      MENUITEM SEPARATOR
      MENUITEM "&Undo",         IDM_UNDO
      MENUITEM "&Redo",         IDM_REDO
      MENUITEM SEPARATOR
      MENUITEM "&Select All",   IDM_SELALL
   END
   POPUP "&View"
   BEGIN
      MENUITEM "&Show Tree",    IDM_VIEW
   END
   POPUP "&Options"
   BEGIN
      MENUITEM "Change &Font",  IDM_CHOOSEF
      MENUITEM "Change &Color", IDM_CHOOSEC
      MENUITEM "&Back Ground",  IDM_BACKGRN
   END
   POPUP "&Search"
   BEGIN
      MENUITEM "&Find Text",    IDM_FIND
      MENUITEM "Find &Next",    IDM_FINDN
      MENUITEM "Find &Prev",    IDM_FINDP
      MENUITEM "&Replace Text", IDM_REPLACE
   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_DEL
      MENUITEM SEPARATOR                        
      MENUITEM "&Select All",   IDM_SELALL
      MENUITEM SEPARATOR
      MENUITEM "&Close Tab",    IDM_CLOSETAB
   END
END

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

4901 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 40, 73, 230, 60
STYLE WS_BORDER | WS_CAPTION | DS_MODALFRAME | WS_POPUP | WS_SYSMENU | DS_3DLOOK | WS_VISIBLE 
CAPTION "Find Text"
FONT 8, "Helv"
BEGIN
    CONTROL "Fi&nd what:", -1, "static", SS_LEFT | WS_CHILD, 4, 8, 42, 8
    CONTROL "", 101, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 50, 7, 118, 12
    CONTROL "Match &whole word only", 201, "button", BS_AUTOCHECKBOX | WS_TABSTOP, 4, 26, 90, 12
    CONTROL "Match &case", 202, "button", BS_AUTOCHECKBOX | WS_TABSTOP, 4, 42, 64, 12
    CONTROL "Direction", 431, "button", BS_GROUPBOX | WS_GROUP, 100, 26, 68, 28
    CONTROL "&Up", 301, "button", BS_AUTORADIOBUTTON | WS_TABSTOP, 104, 38, 24, 12
    CONTROL "&Down", 302, "button", BS_AUTORADIOBUTTON | WS_TABSTOP, 131, 38, 34, 12
    CONTROL "&Find Next", 401, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_BORDER, 174, 7, 50, 12
    CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP, 174, 42, 50, 12
END

4902 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 40, 44, 230, 80
STYLE WS_BORDER | WS_CAPTION | WS_SYSMENU | DS_MODALFRAME | WS_POPUP | DS_3DLOOK | WS_VISIBLE
CAPTION "Replace Text"
FONT 8, "Helv"
BEGIN
    CONTROL "Fi&nd what:", -1, "static", SS_LEFT, 4, 9, 48, 8
    CONTROL "", 101, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 50, 7, 118, 12
    CONTROL "Re&place with:", -1, "static", SS_LEFT, 4, 26, 48, 8
    CONTROL "", 102, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 50, 24, 118, 12
    CONTROL "Match &whole word only", 201, "button", BS_AUTOCHECKBOX | WS_TABSTOP, 4, 46, 90, 12
    CONTROL "Match &case", 202, "button", BS_AUTOCHECKBOX | WS_TABSTOP, 4, 62, 64, 12
    CONTROL "Direction", 431, "button", BS_GROUPBOX | WS_GROUP, 100, 46, 68, 28
    CONTROL "&Up", 301, "button", BS_AUTORADIOBUTTON | WS_TABSTOP, 104, 58, 24, 12
    CONTROL "&Down", 302, "button", BS_AUTORADIOBUTTON | WS_TABSTOP, 131, 58, 34, 12
    CONTROL "&Find Next", 401, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_BORDER, 174, 7, 50, 12
    CONTROL "&Replace", 402, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_BORDER, 174, 24, 50, 12
    CONTROL "Replace &All", 403, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_BORDER, 174, 41, 50, 12
    CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP, 174, 62, 50, 12
END
