home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / PROGRAMS / EM_EDIT / SAMPLES.ZIP / OWL / EMEDTAPP.RC < prev    next >
Encoding:
Text File  |  1994-05-03  |  21.3 KB  |  593 lines

  1. /*  Main emedit
  2.     Early Morning Software
  3.     Copyright ⌐ 1994. All Rights Reserved.
  4.  
  5.     SUBSYSTEM:    emedit.exe Application
  6.     FILE:         emedtapp.rc
  7.     AUTHOR:       Ted Stockwell
  8.  
  9.  
  10.     OVERVIEW
  11.     ========
  12.     All resources defined here.      
  13. */
  14.  
  15. #if !defined(WORKSHOP_INVOKED)
  16. #include <windows.h>
  17. #endif
  18. #include "emedtapp.rh"
  19.  
  20. MDI_MENU MENU 
  21. {
  22.  POPUP "&File"
  23.  {
  24.   MENUITEM "&New", CM_MDIFILENEW
  25.   MENUITEM "&Open...", CM_MDIFILEOPEN
  26.   MENUITEM "&Close", CM_FILECLOSE, GRAYED
  27.   MENUITEM SEPARATOR
  28.   MENUITEM "&Save", CM_FILESAVE, GRAYED
  29.   MENUITEM "Save &As...", CM_FILESAVEAS, GRAYED
  30.   MENUITEM SEPARATOR
  31.   MENUITEM "Print Pre&view...", CM_FILEPRINTPREVIEW, GRAYED
  32.   MENUITEM "&Print...", CM_FILEPRINT, GRAYED
  33.   MENUITEM "P&rint Setup...", CM_FILEPRINTERSETUP, GRAYED
  34.   MENUITEM SEPARATOR
  35.   MENUITEM "E&xit\tAlt+F4", CM_EXIT
  36.  }
  37.  
  38.  POPUP "&Edit"
  39.  {
  40.   MENUITEM "&Undo\tCtrl+Z", CM_EDITUNDO, GRAYED
  41.   MENUITEM "&Redo\tShift+Ctrl+Z", CM_EDITREDO, GRAYED
  42.   MENUITEM SEPARATOR
  43.   MENUITEM "Cu&t\tCtrl+X", CM_EDITCUT, GRAYED
  44.   MENUITEM "&Copy\tCtrl+C", CM_EDITCOPY, GRAYED
  45.   MENUITEM "&Paste\tCtrl+V", CM_EDITPASTE, GRAYED
  46.   MENUITEM SEPARATOR
  47.   MENUITEM "Clear &All", CM_EDITCLEAR, GRAYED
  48.   MENUITEM "&Delete\tDel", CM_EDITDELETE, GRAYED
  49.   MENUITEM "&Wrap", CM_EDITWRAP, GRAYED
  50.   MENUITEM SEPARATOR
  51.   MENUITEM "&Select All", CM_EDITSELECT_ALL, GRAYED
  52.   MENUITEM "T&ime/Date", CM_EDITTIMEDATE, GRAYED
  53.  }
  54.  
  55.  POPUP "&Search"
  56.  {
  57.   MENUITEM "&Find...", CM_EDITFIND, GRAYED
  58.   MENUITEM "&Replace...", CM_EDITREPLACE, GRAYED
  59.   MENUITEM "&Next\aF3", CM_EDITFINDNEXT, GRAYED
  60.  }
  61.  
  62.  POPUP "&Options"
  63.  {
  64.   MENUITEM "&Font...", CM_FONT
  65.  }
  66.  
  67.  POPUP "&Window"
  68.  {
  69.   MENUITEM "&Cascade", CM_CASCADECHILDREN, GRAYED
  70.   MENUITEM "&Tile", CM_TILECHILDREN, GRAYED
  71.   MENUITEM "Arrange &Icons", CM_ARRANGEICONS, GRAYED
  72.   MENUITEM "C&lose All", CM_CLOSECHILDREN, GRAYED
  73.  }
  74.  
  75.  POPUP "&Help"
  76.  {
  77.   MENUITEM "&About...", CM_HELPABOUT
  78.  }
  79.  
  80. }
  81.  
  82.  
  83. // Accelerator table for short-cut to menu commands. (include\owl\editfile.rc)
  84. MDI_MENU ACCELERATORS 
  85. {
  86.  VK_X, CM_EDITCUT, VIRTKEY, CONTROL
  87.  VK_C, CM_EDITCOPY, VIRTKEY, CONTROL
  88.  VK_V, CM_EDITPASTE, VIRTKEY, CONTROL
  89.  VK_Z, CM_EDITUNDO, VIRTKEY, CONTROL
  90.  VK_F3, CM_EDITFINDNEXT, VIRTKEY
  91.  VK_Z, CM_EDITREDO, VIRTKEY, CONTROL, SHIFT
  92. }
  93.  
  94.  
  95. // Context sensitive help cursor.
  96. IDC_HELPCURSOR CURSOR "help.cur"
  97.  
  98.  
  99. //
  100. // Table of help hints displayed in the status bar.
  101. //
  102. STRINGTABLE
  103. BEGIN
  104.  -1, "File/document operations"
  105.  CM_MDIFILENEW, "Creates a new document"
  106.  CM_MDIFILEOPEN, "Opens an existing document"
  107.  CM_FILECLOSE, "Close this document"
  108.  CM_FILESAVE, "Saves this document"
  109.  CM_FILESAVEAS, "Saves this document with a new name"
  110.  CM_FILEPRINT, "Print this document"
  111.  CM_FILEPRINTERSETUP, "Setup this document print characteristics"
  112.  CM_FILEPRINTPREVIEW, "Display full pages as read-only"
  113.  CM_EXIT, "Quits EditPad and prompts to save the documents"
  114.  CM_EDITUNDO -1, "Edit operations"
  115.  CM_EDITUNDO, "Reverses the last operation"
  116.  CM_EDITCUT, "Cuts the selection and puts it on the Clipboard"
  117.  CM_EDITCOPY, "Copies the selection and puts it on the Clipboard"
  118.  CM_EDITPASTE, "Inserts the clipboard contents at the insertion point"
  119.  CM_EDITDELETE, "Deletes the selection"
  120.  CM_EDITCLEAR, "Clear the entire document"
  121.  CM_EDITFIND -1, "Search/replace operations"
  122.  CM_EDITFIND, "Finds the specified text"
  123.  CM_EDITREPLACE, "Finds the specified text and changes it"
  124.  CM_EDITFINDNEXT, "Finds the next match"
  125.  CM_CASCADECHILDREN -1, "Window arrangement and selection"
  126.  CM_CASCADECHILDREN, "Cascades open windows"
  127.  CM_TILECHILDREN, "Tiles open windows"
  128.  CM_ARRANGEICONS, "Arranges iconic windows along bottom"
  129.  CM_CLOSECHILDREN, "Closes all open windows"
  130.  CM_HELPCONTENTS -1, "Access online help"
  131.  CM_HELPCONTENTS, "Help table of contents"
  132.  CM_HELPUSING, "Help on using online Help"
  133.  CM_HELPABOUT, "About the emedit application"
  134.  CM_FONT, "Change the font"
  135.  CM_EDITSELECT_ALL, "Select all text"
  136.  CM_EDITTIMEDATE, "Insert current Time/Date into text at caret position"
  137.  CM_EDITWRAP, "Wrap selected text to fit the window"
  138.  CM_COLUMNBLOCK, "Make column blocks the default selection type"
  139.  CM_LINEBLOCK, "Make line blocks the default selection type"
  140.  CM_EDITREDO, "Redo the previously undone operation"
  141. END
  142.  
  143.  
  144. //
  145. // OWL string table
  146. //
  147.  
  148. // EditFile (include\owl\editfile.rc and include\owl\editsear.rc)
  149. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  150. BEGIN
  151.     IDS_CANNOTFIND,             "Cannot find ""%s""."
  152.     IDS_UNTITLED,               "Untitled"
  153.     IDS_UNABLEREAD,             "Unable to read file %s from disk."
  154.     IDS_UNABLEWRITE,            "Unable to write file %s to disk."
  155.     IDS_FILECHANGED,            "The text in the %s file has changed.\n\nDo you want to save the changes?"
  156.     IDS_FILEFILTER,             "Text files (*.TXT)|*.TXT|AllFiles (*.*)|*.*|"
  157. END
  158.  
  159.  
  160. // Printer (include\owl\printer.rc)
  161. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  162. BEGIN
  163.     IDS_PRNON,                  " on "
  164.     IDS_PRNERRORTEMPLATE,       "'%s' not printed. %s."
  165.     IDS_PRNOUTOFMEMORY,         "Out of memory"
  166.     IDS_PRNOUTOFDISK,           "Out of disk space"
  167.     IDS_PRNCANCEL,              "Printing canceled"
  168.     IDS_PRNMGRABORT,            "Printing aborted in Print Manager"
  169.     IDS_PRNGENERROR,            "Error encountered during print"
  170.     IDS_PRNERRORCAPTION,        "Print Error"
  171. END
  172.  
  173.  
  174. // Exception string resources (include\owl\except.rc)
  175. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  176. BEGIN
  177.     IDS_OWLEXCEPTION,           "ObjectWindows Exception"
  178.     IDS_UNHANDLEDXMSG,          "Unhandled Exception"
  179.     IDS_OKTORESUME,             "OK to resume?"
  180.     IDS_UNKNOWNEXCEPTION,       "Unknown exception"
  181.  
  182.     IDS_UNKNOWNERROR,           "Unknown error"
  183.     IDS_NOAPP,                  "No application object"
  184.     IDS_OUTOFMEMORY,            "Out of memory"
  185.     IDS_INVALIDMODULE,          "Invalid module specified for window"
  186.     IDS_INVALIDMAINWINDOW,      "Invalid MainWindow"
  187.  
  188.     IDS_INVALIDWINDOW,          "Invalid window %s"
  189.     IDS_INVALIDCHILDWINDOW,     "Invalid child window %s"
  190.     IDS_INVALIDCLIENTWINDOW,    "Invalid client window %s"
  191.  
  192.     IDS_CLASSREGISTERFAIL,      "Class registration fail for window %s"
  193.     IDS_CHILDREGISTERFAIL,      "Child class registration fail for window %s"
  194.     IDS_WINDOWCREATEFAIL,       "Create fail for window %s"
  195.     IDS_WINDOWEXECUTEFAIL,      "Execute fail for window %s"
  196.     IDS_CHILDCREATEFAIL,        "Child create fail for window %s"
  197.  
  198.     IDS_MENUFAILURE,            "Menu creation failure"
  199.     IDS_VALIDATORSYNTAX,        "Validator syntax error"
  200.     IDS_PRINTERERROR,           "Printer error"
  201.  
  202.     IDS_LAYOUTINCOMPLETE,       "Incomplete layout constraints specified in window %s"
  203.     IDS_LAYOUTBADRELWIN,        "Invalid relative window specified in layout constraint in window %s"
  204.  
  205.     IDS_GDIFAILURE,             "GDI failure"
  206.     IDS_GDIALLOCFAIL,           "GDI allocate failure"
  207.     IDS_GDICREATEFAIL,          "GDI creation failure"
  208.     IDS_GDIRESLOADFAIL,         "GDI resource load failure"
  209.     IDS_GDIFILEREADFAIL,        "GDI file read failure"
  210.     IDS_GDIDELETEFAIL,          "GDI object %X delete failure"
  211.     IDS_GDIDESTROYFAIL,         "GDI object %X destroy failure"
  212.     IDS_INVALIDDIBHANDLE,       "Invalid DIB handle %X"
  213. END
  214.  
  215.  
  216. // General Window's status bar messages. (include\owl\statusba.rc)
  217. STRINGTABLE
  218. BEGIN
  219.     IDS_MODES                   "EXT|CAPS|NUM|SCRL|OVR|REC"
  220.     SC_SIZE,                    "Changes the size of the window"
  221.     SC_MOVE,                    "Moves the window to another position"
  222.     SC_MINIMIZE,                "Reduces the window to an icon"
  223.     SC_MAXIMIZE,                "Enlarges the window to it maximum size"
  224.     SC_RESTORE,                 "Restores the window to its previous size"
  225.     SC_CLOSE,                   "Closes the window"
  226.     SC_TASKLIST,                "Opens task list"
  227.     SC_NEXTWINDOW,              "Switches to next window"
  228. END
  229.  
  230.  
  231. // Validator messages (include\owl\validate.rc)
  232. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  233. BEGIN
  234.     IDS_VALPXPCONFORM          "Input does not conform to picture:\n""%s"""
  235.     IDS_VALINVALIDCHAR         "Invalid character in input"
  236.     IDS_VALNOTINRANGE          "Value is not in the range %ld to %ld."
  237.     IDS_VALNOTINLIST           "Input is not in valid-list"
  238. END
  239.  
  240.  
  241. //
  242. // Bitmaps used by the speedbar.  Each bitmap is associated with a
  243. // particular menu command.
  244. //
  245. CM_MDIFILENEW BITMAP "new.bmp"
  246. CM_MDIFILEOPEN BITMAP "open.bmp"
  247. CM_FILESAVE BITMAP "save.bmp"
  248.  
  249. CM_EDITUNDO BITMAP "undo.bmp"
  250. CM_EDITCUT BITMAP "cut.bmp"
  251. CM_EDITCOPY BITMAP "copy.bmp"
  252. CM_EDITPASTE BITMAP "paste.bmp" 
  253.  
  254. CM_EDITFIND BITMAP "find.bmp"
  255. CM_EDITFINDNEXT BITMAP "findnext.bmp"
  256.  
  257. CM_FILEPRINTPREVIEW  BITMAP "preview.bmp"
  258. CM_FILEPRINT BITMAP "print.bmp"
  259.  
  260. CM_HELPCONTENTS BITMAP "help.bmp"
  261.  
  262.  
  263. //
  264. // Print Preview speed bar bitmaps
  265. //
  266. APX_PPR_PREVIOUS BITMAP "previous.bmp"
  267. APX_PPR_NEXT BITMAP "next.bmp"
  268. APX_PPR_ONEUP BITMAP "preview1.bmp"
  269. APX_PPR_TWOUP BITMAP "preview2.bmp"
  270.  
  271.  
  272. //
  273. // Misc application definitions
  274. //
  275.  
  276. // MDI document ICON
  277. IDI_DOC ICON "mdichild.ico"
  278.  
  279. // Application ICON
  280.  
  281.  
  282. // About box.
  283. IDD_ABOUT DIALOG 12, 17, 204, 85
  284. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  285. CAPTION "About emedit"
  286. FONT 8, "MS Sans Serif"
  287. {
  288.  CTEXT "Early Morning Editpad : OWL Version", IDC_VERSION, 2, 6, 200, 8, SS_CENTER | SS_NOPREFIX | WS_GROUP
  289.  CTEXT "This sample application was built with the Early Morning", -1, 0, 34, 200, 8, SS_CENTER | SS_NOPREFIX | WS_GROUP
  290.  RTEXT "", IDC_DEBUG, 136, 55, 66, 8, SS_NOPREFIX
  291.  DEFPUSHBUTTON "OK", IDOK, 84, 67, 28, 12
  292.  ICON IDI_COFFEE, -1, 9, 2, 18, 20
  293.  CTEXT "Editor VBX.  To register the VBX or to order the", -1, 1, 44, 200, 8, SS_CENTER | SS_NOPREFIX | WS_GROUP
  294.  CTEXT "C++ source code see emedit.doc", -1, 2, 54, 200, 8, SS_CENTER | SS_NOPREFIX | WS_GROUP
  295.  CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 0, 27, 205, 1
  296. }
  297.  
  298.  
  299. // Printer abort box.
  300. IDD_ABORTDIALOG DIALOG 84, 51, 143, 64
  301. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  302. CAPTION "Print"
  303. BEGIN
  304.     PUSHBUTTON "Cancel", IDCANCEL, 52, 44, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
  305.     CTEXT "Printing", -1, 0, 4, 144, 8, SS_NOPREFIX
  306.     CTEXT "%s", ID_TITLE, 0, 12, 144, 8, SS_NOPREFIX
  307.     CTEXT "on the %s Printer", ID_DEVICE, 0, 20, 144, 8, SS_NOPREFIX
  308.     CTEXT "connected to %s", ID_PORT, 0, 28, 144, 8, SS_NOPREFIX
  309. END
  310.  
  311.  
  312. // TInputDialog class dialog box.
  313. IDD_INPUTDIALOG DIALOG 20, 24, 180, 64
  314. STYLE WS_POPUP | WS_CAPTION | DS_SETFONT
  315. FONT 8, "Helv"
  316. BEGIN
  317.     LTEXT "", ID_PROMPT, 10, 8, 160, 10, SS_NOPREFIX
  318.     CONTROL "", ID_INPUT, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 10, 20, 160, 12
  319.     DEFPUSHBUTTON "&OK", IDOK, 47, 42, 40, 14
  320.     PUSHBUTTON "&Cancel", IDCANCEL, 93, 42, 40, 14
  321. END
  322.  
  323.  
  324. // Horizontal slider thumb bitmap for TSlider and VSlider (include\owl\slider.rc)
  325. IDB_HSLIDERTHUMB BITMAP PRELOAD MOVEABLE DISCARDABLE 
  326. BEGIN
  327.     '42 4D 66 01 00 00 00 00 00 00 76 00 00 00 28 00'
  328.     '00 00 12 00 00 00 14 00 00 00 01 00 04 00 00 00'
  329.     '00 00 F0 00 00 00 00 00 00 00 00 00 00 00 00 00'
  330.     '00 00 10 00 00 00 00 00 00 00 00 00 C0 00 00 C0'
  331.     '00 00 00 C0 C0 00 C0 00 00 00 C0 00 C0 00 C0 C0'
  332.     '00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
  333.     '00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
  334.     '00 00 FF FF FF 00 BB BB 0B BB BB BB B0 BB BB 00'
  335.     '00 00 BB B0 80 BB BB BB 08 0B BB 00 00 00 BB 08'
  336.     'F8 0B BB B0 87 70 BB 00 00 00 B0 8F F8 80 BB 08'
  337.     '77 77 0B 00 00 00 08 F8 88 88 00 88 88 87 70 00'
  338.     '00 00 0F F7 77 88 00 88 77 77 70 00 00 00 0F F8'
  339.     '88 88 00 88 88 87 70 00 00 00 0F F7 77 88 00 88'
  340.     '77 77 70 00 00 00 0F F8 88 88 00 88 88 87 70 00'
  341.     '00 00 0F F7 77 88 00 88 77 77 70 00 00 00 0F F8'
  342.     '88 88 00 88 88 87 70 00 00 00 0F F7 77 88 00 88'
  343.     '77 77 70 00 00 00 0F F8 88 88 00 88 88 87 70 00'
  344.     '00 00 0F F7 77 88 00 88 77 77 70 00 00 00 0F F8'
  345.     '88 88 00 88 88 87 70 00 00 00 0F F7 77 88 00 88'
  346.     '77 77 70 00 00 00 0F F8 88 88 00 88 88 87 70 00'
  347.     '00 00 0F F7 77 78 00 88 77 77 70 00 00 00 0F FF'
  348.     'FF FF 00 88 88 88 80 00 00 00 B0 00 00 00 BB 00'
  349.     '00 00 0B 00 00 00'
  350. END
  351.  
  352.  
  353. // Vertical slider thumb bitmap for TSlider and HSlider (include\owl\slider.rc)
  354. IDB_VSLIDERTHUMB BITMAP PRELOAD MOVEABLE DISCARDABLE 
  355. BEGIN
  356.     '42 4D 2A 01 00 00 00 00 00 00 76 00 00 00 28 00'
  357.     '00 00 28 00 00 00 09 00 00 00 01 00 04 00 00 00'
  358.     '00 00 B4 00 00 00 00 00 00 00 00 00 00 00 00 00'
  359.     '00 00 10 00 00 00 00 00 00 00 00 00 C0 00 00 C0'
  360.     '00 00 00 C0 C0 00 C0 00 00 00 C0 00 C0 00 C0 C0'
  361.     '00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
  362.     '00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
  363.     '00 00 FF FF FF 00 B0 00 00 00 00 00 00 00 00 0B'
  364.     'B0 00 00 00 00 00 00 00 00 0B 0F 88 88 88 88 88'
  365.     '88 88 88 80 08 88 88 88 88 88 88 88 88 80 0F 77'
  366.     '77 77 77 77 77 77 77 80 08 77 77 77 77 77 77 77'
  367.     '77 80 0F 77 FF FF FF FF FF FF F7 80 08 77 FF FF'
  368.     'FF FF FF FF F7 80 0F 70 00 00 00 00 00 00 77 80'
  369.     '08 70 00 00 00 00 00 00 77 80 0F 77 77 77 77 77'
  370.     '77 77 77 80 08 77 77 77 77 77 77 77 77 80 0F 77'
  371.     '77 77 77 77 77 77 77 80 08 77 77 77 77 77 77 77'
  372.     '77 80 0F FF FF FF FF FF FF FF FF F0 08 88 88 88'
  373.     '88 88 88 88 88 80 B0 00 00 00 00 00 00 00 00 0B'
  374.     'B0 00 00 00 00 00 00 00 00 0B'
  375. END
  376.  
  377.  
  378. // Version info.
  379. //
  380. #if !defined(__DEBUG_)
  381. // Non-Debug VERSIONINFO
  382. 1 VERSIONINFO LOADONCALL MOVEABLE 
  383. FILEVERSION 1, 0, 0, 0
  384. PRODUCTVERSION 1, 0, 0, 0
  385. FILEFLAGSMASK 0
  386. FILEFLAGS VS_FFI_FILEFLAGSMASK
  387. FILEOS VOS__WINDOWS16
  388. FILETYPE VFT_APP
  389. BEGIN
  390.     BLOCK "StringFileInfo"
  391.     BEGIN
  392.         // Language type = U.S. English (0x0409) and Character Set = Windows, Multilingual(0x04e4)
  393.         BLOCK "040904E4"                            // Matches VarFileInfo Translation hex value.
  394.         BEGIN
  395.             VALUE "CompanyName", "Early Morning Software\000"
  396.             VALUE "FileDescription", "emedit for Windows\000"
  397.             VALUE "FileVersion", "1.0\000"
  398.             VALUE "InternalName", "emedit\000"
  399.             VALUE "LegalCopyright", "Copyright ⌐ 1994. All Rights Reserved.\000"
  400.             VALUE "LegalTrademarks", "Windows /231 is a trademark of Microsoft Corporation\000"
  401.             VALUE "OriginalFilename", "emedit.EXE\000"
  402.             VALUE "ProductName", "emedit\000"
  403.             VALUE "ProductVersion", "1.0\000"
  404.         END
  405.     END
  406.  
  407.     BLOCK "VarFileInfo"
  408.     BEGIN
  409.         VALUE "Translation", 0x04e4, 0x0409        // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  410.     END
  411.  
  412. END
  413. #else
  414.  
  415. // Debug VERSIONINFO
  416. 1 VERSIONINFO LOADONCALL MOVEABLE 
  417. FILEVERSION 1, 0, 0, 0
  418. PRODUCTVERSION 1, 0, 0, 0
  419. FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PATCHED | VS_FF_PRIVATEBUILD | VS_FF_SPECIALBUILD
  420. FILEFLAGS VS_FFI_FILEFLAGSMASK
  421. FILEOS VOS__WINDOWS16
  422. FILETYPE VFT_APP
  423. BEGIN
  424.     BLOCK "StringFileInfo"
  425.     BEGIN
  426.         // Language type = U.S. English (0x0409) and Character Set = Windows, Multilingual(0x04e4)
  427.         BLOCK "040904E4"                            // Matches VarFileInfo Translation hex value.
  428.         BEGIN
  429.             VALUE "CompanyName", "Early Morning Software\000"
  430.             VALUE "FileDescription", "emedit for Windows\000"
  431.             VALUE "FileVersion", "1.0\000"
  432.             VALUE "InternalName", "emedit\000"
  433.             VALUE "LegalCopyright", "Copyright ⌐ 1994. All Rights Reserved.\000"
  434.             VALUE "LegalTrademarks", "Windows \231 is a trademark of Microsoft Corporation\000"
  435.             VALUE "OriginalFilename", "emedit.EXE\000"
  436.             VALUE "ProductName", "emedit\000"
  437.             VALUE "ProductVersion", "1.0\000"
  438.             VALUE "SpecialBuild", "Debug Version\000"
  439.             VALUE "PrivateBuild", "Built by Ted Stockwell\000"
  440.         END
  441.     END
  442.  
  443.     BLOCK "VarFileInfo"
  444.     BEGIN
  445.         VALUE "Translation", 0x04e4, 0x0409        // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  446.     END
  447.  
  448. END
  449. #endif
  450. IDD_VBXCONTAINER DIALOG 6, 15, 161, 127
  451. STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
  452. CAPTION "IDD_VBXCONTAINER"
  453. FONT 8, "MS Sans Serif"
  454. {
  455.  CONTROL "CMDIALOG.VBX;CommonDialog;CMDialog102", IDC_CMDIALOG1, "VBControl", 0 | WS_CHILD | NOT WS_VISIBLE | WS_TABSTOP, 85, 10, 18, 20
  456. }
  457. IDD_VBXCONTAINER DLGINIT 
  458. {
  459.     102, 0x0400, 83L,
  460. 0x0001, 0x0200, 0x0300, 0x0500, 0x0600, 0x0800, 0x0900, 0x0a00, 0x0000,
  461. 0x0000, 0x000b, 0x0000, 0x0d00, 0x0000, 0x0000, 0x080e, 0x0f00, 0x1000,
  462. 0x0000, 0x0011, 0x1200, 0x0000, 0x0013, 0x1400, 0x0000, 0x0015, 0x1600,
  463. 0x0000, 0x0017, 0x1800, 0x0000, 0x001a, 0x1d00, 0x0100, 0x001f, 0x0020,
  464. 0x2100, 0x0000, 0x0022, 0xff23, 0x25ff, "\xff"
  465.     0
  466. }
  467.  
  468. IDI_COFFEE ICON "coffee6.ico"
  469.  
  470.  
  471.  
  472.  
  473.  
  474. CM_STREAMBLOCK BITMAP "stream.bmp"
  475. OTHER_COMMANDS MENU
  476. {
  477.  POPUP "&File"
  478.  {
  479.   MENUITEM "&1 <name of last file loaded goes here>", CM_FILELAST1
  480.   MENUITEM "&2 <second file name goes here>", CM_FILELAST2
  481.   MENUITEM "Item", CM_FILELAST3
  482.   MENUITEM "Item", CM_FILELAST4
  483.  }
  484.  
  485.  POPUP "&Blocks"
  486.  {
  487.   MENUITEM "&Stream blocks", CM_STREAMBLOCK
  488.   MENUITEM "&Column Blocks", CM_COLUMNBLOCK
  489.   MENUITEM "&Line blocks", CM_LINEBLOCK
  490.  }
  491.  
  492. }
  493.  
  494. STRINGTABLE
  495. {
  496.  CM_STREAMBLOCK, "Make stream blocks the default selection type"
  497. }
  498.  
  499.  
  500. CM_COLUMNBLOCK BITMAP "column.bmp"
  501.  
  502.  
  503. CM_LINEBLOCK BITMAP "line.bmp"
  504.  
  505.  
  506. IDD_CHILDCLIENT DIALOG 6, 15, 161, 114
  507. STYLE WS_CHILD | WS_VISIBLE
  508. FONT 8, "MS Sans Serif"
  509. {
  510.  CONTROL "EMEDIT.VBX;Editor;Editor112", IDC_CHILDCLIENTEDITOR, "VBControl", 0 | WS_CHILD | NOT WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 40, 18, 65, 66
  511. }
  512.  
  513.  
  514.  
  515.  
  516. IDD_EMFIND DIALOG 14, 16, 199, 101
  517. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  518. CAPTION "Find"
  519. FONT 8, "MS Sans Serif"
  520. {
  521.  COMBOBOX IDC_COMBOTEXT, 48, 7, 90, 73, CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
  522.  CHECKBOX "Match &Case", IDC_MATCHCASE, 15, 34, 68, 13, BS_AUTOCHECKBOX | WS_TABSTOP
  523.  CHECKBOX "&Whole Words Only", IDC_WHOLEWORDS, 15, 47, 75, 16, BS_AUTOCHECKBOX | WS_TABSTOP
  524.  CONTROL "&Top", IDC_UPBUTTON, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 17, 79, 26, 9
  525.  CONTROL "&Bottom", IDC_DOWNBUTTON, "BUTTON", BS_AUTORADIOBUTTON, 46, 79, 38, 9
  526.  CONTROL "Fr&om Cursor", IDC_CURSORBUTTON, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 124, 62, 61, 13
  527.  CONTROL "&Entire Scope", IDC_ENTIREBUTTON, "BUTTON", BS_AUTORADIOBUTTON, 124, 75, 61, 13
  528.  DEFPUSHBUTTON "OK", IDOK, 144, 6, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP
  529.  PUSHBUTTON "Cancel", IDCANCEL, 144, 24, 50, 14, WS_TABSTOP
  530.  CONTROL "&Find What:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE, 8, 8, 40, 11
  531.  GROUPBOX "Options", IDC_GROUPBOX1, 10, 23, 82, 41, BS_GROUPBOX
  532.  GROUPBOX "Search To", IDC_GROUPBOX2, 10, 67, 82, 26, BS_GROUPBOX
  533.  GROUPBOX "Origin", IDC_GROUPBOX3, 117, 51, 72, 42, BS_GROUPBOX
  534. }
  535.  
  536.  
  537.  
  538. IDD_EMREPLACE DIALOG 7, 18, 207, 117
  539. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  540. CAPTION "Replace"
  541. FONT 8, "MS Sans Serif"
  542. {
  543.  CONTROL "&Find What:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 9, 37, 13
  544.  COMBOBOX IDC_COMBOTEXT, 45, 9, 96, 104, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP
  545.  CONTROL "&New Text:", -1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 27, 36, 11
  546.  COMBOBOX IDC_COMBOBOX1, 45, 26, 96, 90, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
  547.  CHECKBOX "Match &Case", IDC_MATCHCASE, 15, 51, 68, 13, BS_AUTOCHECKBOX | WS_TABSTOP
  548.  CHECKBOX "&Whole Words Only", IDC_WHOLEWORDS, 15, 63, 75, 16, BS_AUTOCHECKBOX | WS_TABSTOP
  549.  CONTROL "&Up", IDC_UPBUTTON, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 15, 95, 31, 9
  550.  CONTROL "&Down", IDC_DOWNBUTTON, "BUTTON", BS_AUTORADIOBUTTON, 46, 95, 38, 9
  551.  CONTROL "Fr&om Cursor", IDC_CURSORBUTTON, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 122, 73, 61, 13
  552.  CONTROL "&Entire Scope", IDC_ENTIREBUTTON, "BUTTON", BS_AUTORADIOBUTTON, 122, 90, 61, 13
  553.  DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
  554.  PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
  555.  GROUPBOX "Options", IDC_GROUPBOX1, 10, 41, 82, 39, BS_GROUPBOX
  556.  GROUPBOX "Direction", IDC_GROUPBOX2, 9, 83, 82, 25, BS_GROUPBOX
  557.  GROUPBOX "Origin", IDC_GROUPBOX3, 117, 58, 72, 50, BS_GROUPBOX
  558. }
  559.  
  560.  
  561.  
  562. IDD_EMREPLACECONFIRM DIALOG 41, 15, 153, 34
  563. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  564. CAPTION "Replace Confirm"
  565. FONT 8, "MS Sans Serif"
  566. {
  567.  DEFPUSHBUTTON "&Yes", IDC_YESBUTTON, 2, 16, 24, 14
  568.  PUSHBUTTON "&No", IDC_NOBUTTON, 32, 16, 24, 14
  569.  PUSHBUTTON "&One", IDC_ONEBUTTON, 61, 16, 24, 14
  570.  PUSHBUTTON "&All", IDC_ALLBUTTON, 91, 16, 24, 14
  571.  PUSHBUTTON "&Cancel", IDCANCEL, 120, 16, 31, 14
  572.  CTEXT "Replace this occurence?", -1, 4, 3, 144, 11, SS_CENTER | NOT WS_GROUP
  573. }
  574.  
  575.  
  576.  
  577.  
  578. IDD_CHILDCLIENT DLGINIT
  579. {
  580.     112, 0x0400, 151L,
  581. 0x0323, 0x0001, 0x0300, 0xffff, 0x00ff, 0x0004, 0x0000, 0x0500, 0xff09,
  582. 0x0aff, 0xffff, 0x000b, 0x100c, 0x00ff, 0x0000, 0x0000, 0xbc00, 0x0002,
  583. 0x0000, 0x0100, 0x0102, 0x5322, 0x7379, 0x6574, 0x006d, 0x503b, 0xf600,
  584. 0x504b, 0xf600, 0x9f4b, 0x173f, 0x7342, 0xa719, 0x503b, 0xf600, 0x904b,
  585. 0x7417, 0x1249, 0x0000, 0x0014, 0x0116, 0x1700, 0x1900, 0x2400, 0x2600,
  586. 0x2701, 0xffff, 0x0038, 0x0000, 0x3900, 0x0000, 0x003a, 0x3b00, 0x0000,
  587. 0x023c, 0x3d00, 0x0000, 0xff3e, 0xffff, 0x3f00, 0x0000, 0x0080, 0xff40,
  588. 0x46ff, 0xffff, 0xff47, 0x4cff, 0x00ff, 0x004d, 0x004e, 0x004f, 0x0150,
  589. 0x0051, 0x5200, 0x0000, "\xff"
  590.     0
  591. }
  592.  
  593.