home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / startapp.zip / MAIN.RC < prev    next >
Text File  |  1998-09-10  |  5KB  |  113 lines

  1. /**************************************************************************
  2.  *  File name  :  main.rc
  3.  *
  4.  *  Description:  This resource file contains the menu and string
  5.  *                table definitions.
  6.  *
  7.  *  Concepts   :  resource script
  8.  *
  9.  *  API's      :  [none]
  10.  *
  11.  *  Required
  12.  *    Files    :  OS2.H, MAIN.H, DLG.H
  13.  *
  14.  *  (c) Copyright IBM Corp. 1991, 1998  All rights reserved.
  15.  *
  16.  *  These sample programs are owned by International Business Machines
  17.  *  Corporation or one of its subsidiaries ("IBM") and are copyrighted and
  18.  *  licensed, not sold.
  19.  *
  20.  *  You may copy, modify, and distribute these sample programs in any
  21.  *  form without payment to IBM, for any purpose including developing,
  22.  *  using, marketing or distributing programs that include or are
  23.  *  derivative works of the sample programs.
  24.  *
  25.  *  The sample programs are provided to you on an "AS IS" basis, without
  26.  *  warranty of any kind.  IBM HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES,
  27.  *  EITHER EXPRESS OR IMPLIED, INCLUDING , BUT NOT LIMITED TO, THE IMPLIED
  28.  *  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  29.  *  Some jurisdictions do not allow for the exclusion or limitation of
  30.  *  implied warranties, so the above limitations or exclusions may not
  31.  *  apply to you.  IBM shall not be liable for any damages you suffer
  32.  *  as a result of using, modifying or distributing the sample programs
  33.  *  or their derivatives.
  34.  *************************************************************************/
  35. #include <os2.h>
  36. #include "main.h"
  37. #include "dlg.h"
  38.  
  39. ICON IDR_MAIN "main.ico"
  40.  
  41. MENU IDR_MAIN
  42. {
  43.     SUBMENU       "~Control",                  IDM_CTRL,       MIS_TEXT
  44.     {
  45.          MENUITEM "~Start",                    IDM_START,      MIS_TEXT
  46.          MENUITEM "~Terminate",                IDM_TERMIN8,    MIS_TEXT
  47.     }
  48.  
  49.  
  50.     SUBMENU       "~Help",                     IDM_HELP,       MIS_TEXT
  51.     {
  52.         MENUITEM  "Help ~index",       IDM_HELPINDEX,          MIS_TEXT
  53.         MENUITEM  "~General help",     IDM_HELPGENERAL,        MIS_TEXT
  54.         MENUITEM  "~Using help",       IDM_HELPUSINGHELP,      MIS_TEXT
  55.         MENUITEM  "~Tutorial",         IDM_HELPTUTORIAL,       MIS_TEXT
  56.         MENUITEM SEPARATOR
  57.         MENUITEM  "~Code information", IDM_HELPPRODUCTINFO,    MIS_TEXT
  58.     }
  59.  
  60. }
  61.  
  62. ACCELTABLE IDR_MAIN
  63. {
  64.       VK_DELETE,      IDM_TERMIN8,        VIRTUALKEY,    ALT
  65. }
  66.  
  67. STRINGTABLE
  68. {
  69.     IDS_APPNAME                 "Start Application Sample Program"
  70.     IDS_FILEOPENEXT             "*.TXT"
  71.     IDS_HELPLIBRARYNAME         "STARTAPP.HLP"
  72.     IDS_OPEN                    "Open"
  73.     IDS_HELPWINDOWTITLE         "StartApp Help"
  74.     IDS_SAVE                    "Save"
  75.     IDS_UNTITLED                "Untitled"
  76.     IDS_TITLEBARSEPARATOR       " - "
  77.     IDS_OBJECTCLASS             "Object Class"
  78. }
  79.  
  80. MESSAGETABLE
  81. {
  82.     IDMSG_INITFAILED            "Initialization failed."
  83.     IDMSG_MAINWINCREATEFAILED   "Failed to create main window."
  84.     IDMSG_CANNOTOPENINPUTFILE   "Cannot open input file."
  85.     IDMSG_CANNOTOPENOUTPUTFILE  "Cannot open output file."
  86.     IDMSG_CANNOTRUNCOLOR        "Cannot run Color dialog."
  87.     IDMSG_CANNOTGETHPS          "Cannot get HPS for window."
  88.     IDMSG_HELPLOADERROR         "Failed to load help manager."
  89.     IDMSG_CANNOTLOADSTRING      "Failed to load string."
  90.     IDMSG_CANNOTOPENPRINTER     "Failed to open printer."
  91.     IDMSG_HELPDISPLAYERROR      "Failed to display help panel."
  92.     IDMSG_CANNOTLOADEXITLIST    "Cannot load Exit List processor."
  93.     IDMSG_PRINTINITFAILED       "Printer initialization failed."
  94.     IDMSG_OVERWRITEFILE         "The file exists.  Do you want to overwrite it?"
  95.     IDMSG_PRINTERROR            "Error while printing.  Printing aborted."
  96.     IDMSG_UNDOFAILED            "Failed to Undo."
  97.     IDMSG_CANNOTGETFILEINFO     "Error getting file information."
  98.     IDMSG_CANNOTALLOCATEMEMORY  "Not enough memory."
  99.     IDMSG_CANNOTREADFILE        "Error reading file."
  100.     IDMSG_CANNOTWRITETOFILE     "Error writing file."
  101.     IDMSG_CANNOTLOADFONTS       "Cannot load fonts."
  102.     IDMSG_CANNOTGETPAGEINFO     "Error obtaining printer page information."
  103.     IDMSG_YOURTUTORIAL          "Your tutorial can replace this message."
  104. }
  105.  
  106. BITMAP IDR_BITMAP prodinfo.bmp
  107.  
  108. /* include dialog templates created by dialog editor */
  109.  
  110. rcinclude startapp.dlg
  111. rcinclude help.rc
  112. /***************************  End of main.rc ****************************/
  113.