home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / PM / BMPSAMP / JIGSAW.RC < prev    next >
Text File  |  1994-11-17  |  4KB  |  107 lines

  1. /******************************************************************************
  2. *
  3. *  File Name   : JIGSAW.RC
  4. *
  5. *  Description : Define Jigsaw application's menus and strings
  6. *
  7. *  Concepts    : resource files
  8. *
  9. *  Copyright (C) 1992 IBM Corporation
  10. *
  11. *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  12. *      sample code created by IBM Corporation. This sample code is not
  13. *      part of any standard or IBM product and is provided to you solely
  14. *      for  the purpose of assisting you in the development of your
  15. *      applications.  The code is provided "AS IS", without
  16. *      warranty of any kind.  IBM shall not be liable for any damages
  17. *      arising out of your use of the sample code, even if they have been
  18. *      advised of the possibility of such damages.                                                    *
  19. ******************************************************************************/
  20.  
  21. #include "jigsaw.h"
  22.  
  23. /*
  24.  *   Define icons and bitmaps included as resources
  25.  */
  26.  
  27. ICON   IDR_MAIN   "jigsaw.ico"
  28. BITMAP IDB_BACK_1 "prodinfo.bmp"
  29.  
  30. /*
  31.  *   Define accelerator key table
  32.  */
  33.  
  34. ACCELTABLE IDR_MAIN PRELOAD
  35. {
  36.     VK_F6, IDM_SWITCH, VIRTUALKEY
  37. }
  38.  
  39. /*
  40.  *   Define action bar menu with all pull-down submenus
  41.  */
  42.  
  43. MENU IDR_MAIN PRELOAD
  44. BEGIN
  45.     SUBMENU "~File",                           IDM_FILE
  46.     BEGIN
  47.         MENUITEM "~Open...",                   IDM_LOAD
  48.     END
  49.  
  50.     SUBMENU "~Options",                        IDM_OPTIONS
  51.     BEGIN
  52.         SUBMENU "Size",                        IDM_SIZE_MENU,    0, MIA_DISABLED
  53.         BEGIN
  54.             MENUITEM "Small",                  IDM_SIZE_SMALL,   0, MIA_DISABLED
  55.             MENUITEM "Medium",                 IDM_SIZE_MEDIUM,  0, MIA_DISABLED
  56.             MENUITEM "Large",                  IDM_SIZE_LARGE,   0, MIA_DISABLED
  57.             MENUITEM "Full Size",              IDM_SIZE_FULL,    0, MIA_DISABLED
  58.                                                                    | MIA_CHECKED
  59.         END
  60.  
  61.         MENUITEM "~Jumble!",                   IDM_JUMBLE,       0, MIA_DISABLED
  62.     END
  63.  
  64.     SUBMENU "~Help",                           IDM_HELP,            MIS_TEXT
  65.     BEGIN
  66.         MENUITEM "Help ~index",                IDM_HELPINDEX,       MIS_TEXT
  67.         MENUITEM "~General help",              IDM_HELPEXTENDED,    MIS_TEXT
  68.         MENUITEM "~Using help",                IDM_HELPHELPFORHELP, MIS_TEXT
  69.         MENUITEM     SEPARATOR
  70.         MENUITEM "~Product information",       IDM_HELPABOUT,       MIS_TEXT
  71.     END
  72. END
  73.  
  74. /*
  75.  *   Define all strings to be used by this application
  76.  */
  77.  
  78. STRINGTABLE PRELOAD
  79. {
  80.     IDS_TITLEBAR          "Jigsaw"
  81.     IDS_TERMINATE         "OK to end this program?"
  82.     IDS_OPENDLGHEADER     "Open"
  83.     IDS_OPENDLGBUTTON     "~Open"
  84.     IDS_FILEOPENEXTENSION "*.BMP"
  85.     IDS_CANNOTLOADSTRING  "Failed to load resource string"
  86.     IDS_CANNOTRUNFILEDLG  "Failed to initiate open dialog"
  87.     IDS_HELPLIBRARYNAME   "JIGSAW.HLP"     /* not to be translated */
  88.     IDS_HELPWINDOWTITLE   "Jigsaw Help"
  89.     IDS_HELPLOADERROR     "Failed to load Help Manager."
  90.     IDS_HELPDISPLAYERROR  "Failed to display help panel."
  91.     IDS_HELPMANAGERERROR  "Help Manager Error occurred - destroying help instance."
  92.     IDS_OPTIONJUMBLE      "Choose option Jumble! to start the puzzle"
  93.     IDS_LOADBITMAP        "Choose File Open to load the puzzle"
  94.     IDS_ERRORMSG          "%s encountered in file %s line %ld"
  95.     IDS_UNKNOWNMSG        "Unknown Error encounted in file %s line %ld"
  96.     IDS_ERROR_READ        "Error reading file."
  97.     IDS_ERROR_OUTOFMEMORY "Error - out of memory"
  98.     IDS_ERROR_TITLE       "Error Message"
  99. }
  100.  
  101. /*
  102.  *   Include additional resource files and dialog files here
  103.  */
  104.  
  105. rcinclude jighelp.rc
  106. rcinclude jigsaw.dlg
  107.