home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ioc / iclui.rc < prev    next >
Encoding:
Text File  |  1996-02-21  |  4.6 KB  |  119 lines

  1. --------------------------------------------------------------------------------
  2. --
  3. -- COPYRIGHT:
  4. --   IBM WorkFrame - Project Smarts
  5. --   (C) Copyright International Business Machines Corporation 1996
  6. --   Licensed Material - Program-Property of IBM - All Rights Reserved.
  7. --   US Government Users Restricted Rights - Use, duplication, or disclosure
  8. --   restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. --------------------------------------------------------------------------------
  11.  
  12. <include prologc.tde>
  13.  
  14. #include <windows.h>
  15. #include "$FILE_NAME$.h"
  16.  
  17. /*-------------------*/
  18. /* Icon resources    */
  19. /*-------------------*/
  20. IDI_ICON  ICON  "$FILE_NAME$.ico"
  21.  
  22.  
  23. /*---------------------*/
  24. /* Menu resource table */
  25. /*---------------------*/
  26. IDW_FRAME_WINDOW  MENUEX
  27.   BEGIN
  28.     POPUP     "&File"                    ,  IDM_FILE
  29.       BEGIN
  30.         MENUITEM  "&Open...\tCtrl+O"     ,  IDM_FILE_OPEN
  31.         MENUITEM  "&Save\tCtrl+S"        ,  IDM_FILE_SAVE
  32.         MENUITEM  "Save &as..."          ,  IDM_FILE_SAVEAS
  33.         MENUITEM  SEPARATOR
  34.         MENUITEM  "&Close"               ,  IDM_FILE_CLOSE
  35.       END
  36.     POPUP     "&Edit"                    ,  IDM_EDIT
  37.       BEGIN
  38.         MENUITEM  "Cop&y\tCtrl+Ins"      ,  IDM_EDIT_COPY
  39.         MENUITEM  "Cu&t\tSh+Del"         ,  IDM_EDIT_CUT
  40.         MENUITEM  "Pa&ste\tSh+Ins"       ,  IDM_EDIT_PASTE
  41.       END
  42.     POPUP     "&Help"                    ,  IDM_HELP,      RIGHTJUSTIFY
  43.       BEGIN
  44.         MENUITEM  "Help &index"          ,  SC_HELPINDEX
  45.         MENUITEM  "&General help"        ,  SC_HELPEXTENDED
  46.         MENUITEM  "&Using help"          ,  IDM_HELP_USING
  47.         MENUITEM  SEPARATOR
  48.         MENUITEM  "&Product information" ,  IDM_HELP_PRODINFO
  49.       END
  50.   END
  51.  
  52.  
  53. IDW_FRAME_WINDOW  ACCELERATORS
  54.   BEGIN
  55.     "^O"        ,    IDM_FILE_OPEN
  56.     "^S"        ,    IDM_FILE_SAVE
  57.     "^O"        ,    IDM_FILE_OPEN
  58.     "^S"        ,    IDM_FILE_SAVE
  59.     "^O"        ,    IDM_FILE_OPEN                 ,  SHIFT
  60.     "^S"        ,    IDM_FILE_SAVE                 ,  SHIFT
  61.     "^O"        ,    IDM_FILE_OPEN                 ,  SHIFT
  62.     "^S"        ,    IDM_FILE_SAVE                 ,  SHIFT
  63.     VK_INSERT   ,    IDM_EDIT_COPY                 ,  CONTROL,  SHIFT,  VIRTKEY
  64.     VK_DELETE   ,    IDM_EDIT_CUT                  ,  VIRTKEY
  65.     VK_INSERT   ,    IDM_EDIT_PASTE                ,  VIRTKEY
  66.   END
  67.  
  68.  
  69. STRINGTABLE
  70.   BEGIN
  71.     IDW_FRAME_WINDOW               ,    "$TITLE$"
  72.     IDS_NO_FILE                    ,    "(Untitled)"
  73.     IDS_EXIT                       ,    "Exit $TITLE$?"
  74.     IDS_FILE_OPEN                  ,    "File open"
  75.     IDS_GENERAL_DESC               ,    "Press F1 for a description of this program."
  76.     IDS_HELP_TITLE                 ,    "$TITLE$ Help"
  77.     IDS_OPEN                       ,    "Open"
  78.     IDS_OPEN_FILE                  ,    "File %s opened"
  79.     IDS_FILE_OPENED                ,    "File %s successfully opened"
  80.     IDS_SAVE_FILE                  ,    "Save file %s"
  81.     IDS_FILE_SAVED                 ,    "File %s saved successfully"
  82.     IDS_SAVEAS                     ,    "Save as"
  83.     IDS_SAVE                       ,    "Save"
  84.     IDS_COPY                       ,    "Copy"
  85.     IDS_CUT                        ,    "Cut"
  86.     IDS_PASTE                      ,    "Paste"
  87.     IDS_HELP_INDEX                 ,    "Help index"
  88.     IDS_HELP_GENERAL               ,    "General help"
  89.     IDS_HELP_USING                 ,    "Using help"
  90.     IDS_HELP_PRODINFO              ,    "Product information"
  91.     IDS_PRODINFO_OK                ,    "OK"
  92.     IDS_PRODINFO_TEXT1             ,    "Open Class Library UI Application"
  93.     IDS_PRODINFO_TEXT2             ,    "A WorkFrame Project Smarts Application"
  94.     IDS_PRODINFO_TEXT3             ,    "(C)Copyright IBM Corporation 1996.  All Rights Reserved."
  95.     IDS_PRODINFO_TEXT4             ,    "WorkFrame is a registered trademark"
  96.     IDS_PRODINFO_TEXT5             ,    "of the Internation Business Machines Corporation."
  97.     IDS_ERROR_NO_FILE_LOADED       ,    "There is no file open."
  98.     IDS_ERROR_NO_HELP              ,    "Help is unavailable.  Ensure that the help file is present on your HELP path"
  99.   END
  100.  
  101. IDH_MAIN_HELPTABLE      HELPTABLE
  102.   BEGIN
  103.     IDW_FRAME_WINDOW     , IDH_SUBTABLE_FRAME   , IDH_GENHELP_RESNO
  104.   END
  105.  
  106. IDH_SUBTABLE_FRAME     HELPSUBTABLE
  107.   BEGIN
  108.     IDM_FILE             , 110
  109.     IDM_FILE_OPEN        , 130
  110.     IDM_FILE_SAVE        , 140
  111.     IDM_FILE_SAVEAS      , 150
  112.     IDM_FILE_CLOSE       , 170
  113.     IDM_EDIT             , 180
  114.     IDM_EDIT_COPY        , 200
  115.     IDM_EDIT_CUT         , 210
  116.     IDM_EDIT_PASTE       , 220
  117.   END
  118.  
  119.