home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / os2 / timeserv / clock.rc < prev    next >
Text File  |  1999-05-11  |  4KB  |  107 lines

  1. /**************************************************************************\
  2. *                                                                          *
  3. *       MODULE:     clock.rc                                               *
  4. *       COMMENT:    Clock Program Resource File                            *
  5. *                   Copyright IBM Corporation, 1992                        *
  6. *                                                                          *
  7. \**************************************************************************/
  8.  
  9. #include <os2.h>
  10. #include "clock.h"
  11. #include "dialogs.h"
  12. #include "res.h"
  13.  
  14. ICON   IDR_MAIN  "clock.ico"
  15. BITMAP IDR_MAIN  "prodinfo.bmp"
  16.  
  17.  
  18. MENU IDR_MAIN
  19. {
  20.     SUBMENU "~Settings", IDM_SETTINGS,  MIS_TEXT
  21.     {
  22.         MENUITEM "~Colors..." ,         IDM_COLORS,     MIS_TEXT
  23.         MENUITEM "~Tick Marks...",      IDM_TICKS,      MIS_TEXT
  24.         MENUITEM "~Date/Time...",       IDM_DATETIME,   MIS_TEXT
  25.         MENUITEM "~Alarm...",           IDM_ALARM,      MIS_TEXT
  26.         MENUITEM SEPARATOR
  27.         MENUITEM "~Second Hand",        IDM_SECONDHAND, MIS_TEXT
  28.         MENUITEM "T~oggle Frame Controls\tAlt+F",IDM_TOGGLECONTROLS,MIS_TEXT
  29.     }
  30.     SUBMENU "~View" , IDM_VIEW,   MIS_TEXT
  31.     {
  32.         MENUITEM "~Time",               IDM_TIME,       MIS_TEXT
  33.         MENUITEM "~Date",               IDM_DATE,       MIS_TEXT
  34.         MENUITEM SEPARATOR
  35.         MENUITEM "~Analog",             IDM_ANALOG,     MIS_TEXT
  36.         MENUITEM "D~igital",            IDM_DIGITAL,    MIS_TEXT
  37.     }
  38.  
  39.  
  40.     SUBMENU     "~Help",    IDM_HELP,   MIS_TEXT
  41.     {
  42.         MENUITEM    "~Help for help...",    IDM_HELPHELPFORHELP, MIS_TEXT
  43.         MENUITEM    "~Keys help...",        IDM_HELPKEYS,       MIS_TEXT
  44.         MENUITEM    "Help ~index...",       IDM_HELPINDEX,      MIS_TEXT
  45.         MENUITEM SEPARATOR
  46.         MENUITEM    "~Product Information..",IDM_HELPABOUT,      MIS_TEXT
  47.     }
  48. }
  49.  
  50.  
  51. ACCELTABLE  IDR_MAIN
  52. {
  53.     "f",    IDM_TOGGLECONTROLS, CHAR, ALT
  54.     "F",    IDM_TOGGLECONTROLS, CHAR, ALT
  55. }
  56.  
  57.  
  58. STRINGTABLE     PRELOAD
  59. BEGIN
  60.     IDS_TITLE                   "Date & Time"
  61.     IDS_APPNAME                 "Clock"
  62.     IDS_FILEOPENEXT             "*.TXT"
  63.     IDS_HELPLIBRARYNAME         "CLOCK.HLP"
  64.     IDS_OPENDLGTITLE            "Open..."
  65.     IDS_OPENDLGBUTTON           "Open"
  66.     IDS_HELPWINDOWTITLE         "Clock Help"
  67.     IDS_SAVEDLGTITLE            "Save..."
  68.     IDS_SAVEDLGBUTTON           "Save"
  69.     IDS_UNTITLED                "Untitled"
  70.     IDS_TITLEBARSEPARATOR       " - "
  71.     IDS_OBJECTCLASS             "Object Class"
  72. END
  73.  
  74.  
  75. MESSAGETABLE
  76. {
  77.     IDMSG_INITFAILED            "Initialization failed."
  78.     IDMSG_MAINWINCREATEFAILED   "Failed to create main window."
  79.     IDMSG_CANNOTOPENINPUTFILE   "Cannot open input file."
  80.     IDMSG_CANNOTOPENOUTPUTFILE  "Cannot open output file."
  81.     IDMSG_CANNOTRUNCOLOR        "Cannot run Color dialog."
  82.     IDMSG_CANNOTGETHPS          "Cannot get HPS for window."
  83.     IDMSG_HELPLOADERROR         "Failed to load help manager."
  84.     IDMSG_CANNOTLOADSTRING      "Failed to load string."
  85.     IDMSG_CANNOTOPENPRINTER     "Failed to open printer."
  86.     IDMSG_HELPDISPLAYERROR      "Failed to display help panel."
  87.     IDMSG_CANNOTLOADEXITLIST    "Cannot load Exit List processor."
  88.     IDMSG_PRINTINITFAILED       "Printer initialization failed."
  89.     IDMSG_OVERWRITEFILE         "The file exists.  Do you want to overwrite it?"
  90.     IDMSG_PRINTERROR            "Error while printing.  Printing aborted."
  91.     IDMSG_UNDOFAILED            "Failed to Undo."
  92.     IDMSG_CANNOTGETFILEINFO     "Error getting file information."
  93.     IDMSG_CANNOTALLOCATEMEMORY  "Not enough memory."
  94.     IDMSG_CANNOTREADFILE        "Error reading file."
  95.     IDMSG_CANNOTWRITETOFILE     "Error writing file."
  96.     IDMSG_CANNOTLOADFONTS       "Cannot load fonts."
  97.     IDMSG_CANNOTGETPAGEINFO     "Error obtaining printer page information."
  98.  
  99. }
  100.  
  101.  
  102. rcinclude clock.dlg
  103. rcinclude product.dlg
  104. rcinclude help.rc
  105.  
  106.  
  107.