home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mmpm21tk.zip / TK / CAPSAMP / CAPSAMP.RC < prev    next >
Text File  |  1993-03-04  |  4KB  |  128 lines

  1. /*************************************************************************
  2.  * File Name    : CAPSAMP.RC
  3.  *
  4.  * Description  : This is the resource file for the Caption sample program
  5.  *
  6.  * Copyright (C) IBM 1993
  7.  *************************************************************************/
  8.  
  9. #define  INCL_WIN
  10. #define  INCL_PM
  11. #define  INCL_WINMENUS
  12.  
  13. #define  INCL_CIRCULARSLIDER  /* need this for the circular slider control */
  14. #define  INCL_GRAPHICBUTTON   /* need this for the graphic buttons control */
  15. #define  INCL_BITMAP
  16.  
  17. #include <os2.h>
  18. #include <sw.h>
  19.  
  20. #include "captions.H"
  21. #include "capsamp.h"
  22.  
  23. ICON ID_ICON capsamp.ICO
  24.  
  25. /*
  26.  * Bitmap's
  27.  */
  28. BITMAP ID_BMP_PLAY0 LOADONCALL MOVEABLE DISCARDABLE PLAY0.BMP
  29. BITMAP ID_BMP_PLAY1 LOADONCALL MOVEABLE DISCARDABLE PLAY1.BMP
  30. BITMAP ID_BMP_PLAY2 LOADONCALL MOVEABLE DISCARDABLE PLAY2.BMP
  31. BITMAP ID_BMP_PLAY3 LOADONCALL MOVEABLE DISCARDABLE PLAY3.BMP
  32. BITMAP ID_BMP_PLAY4 LOADONCALL MOVEABLE DISCARDABLE PLAY4.BMP
  33. BITMAP ID_BMP_STOP LOADONCALL MOVEABLE DISCARDABLE STOP.BMP
  34. BITMAP ID_BMP_PAUSE LOADONCALL MOVEABLE DISCARDABLE PAUSE.BMP
  35. BITMAP ID_BMP_REWIND LOADONCALL MOVEABLE DISCARDABLE REWIND.BMP
  36.  
  37.  
  38. MENU IDD_MAIN_WINDOW
  39. {
  40.    SUBMENU "~Options",                      IDM_OPTIONS_MENU
  41.    {
  42.       MENUITEM  "~Settings...",             IDM_SETTINGS
  43.    }
  44.  
  45.    SUBMENU "~Help",                         IDM_HELP_MENU,       MIS_TEXT
  46.    {
  47.       MENUITEM  "Help ~Index...",           IDM_HELP_INDEX,      MIS_TEXT
  48.       MENUITEM  "~General Help...",         IDM_HELP_GENERAL,    MIS_TEXT
  49.       MENUITEM  "~Using Help...",           IDM_HELP_USING,      MIS_TEXT
  50.       MENUITEM  "~Keys Help...",            IDM_HELP_KEYS,       MIS_TEXT
  51.       MENUITEM  SEPARATOR
  52.       MENUITEM  "~Product Information...",  IDM_HELP_PRODUCTINFO
  53.    }
  54. }
  55.  
  56.  
  57. /*
  58.  * Help Table Definition.
  59.  *
  60.  * The help table definition for the dialog window.
  61.  */
  62.  
  63. HELPTABLE ID_AUDIO_HELPTABLE
  64. {
  65.    HELPITEM IDD_MAIN_WINDOW,         0,                    0
  66.    HELPITEM ID_MESSAGEBOX, ID_SUBTABLE_MESSAGEBOX, ID_MESSAGEBOX
  67. }
  68.  
  69. HELPSUBTABLE ID_SUBTABLE_MESSAGEBOX
  70. {
  71. }
  72.  
  73. /*
  74.  * String Table Definition.
  75.  */
  76. STRINGTABLE
  77. {
  78.   IDS_PROGRAM_TITLE,        "Caption Sample Application"
  79.   IDS_CAP_SAM_ERROR,        "Caption Sample Application Error"
  80.   IDS_HELP_WINDOW_TITLE,    "Caption Sample Application Help"
  81.   IDS_HELP_LIBRARY_NAME,    "capsamp.hlp"
  82.   IDS_DEFAULTSIZE,          "~Default Size"
  83.   IDS_WHITE,                "White"
  84.   IDS_YELLOW,               "Yellow"
  85.   IDS_GRAY,                 "Gray"
  86.   IDS_BLUE,                 "Blue"
  87.   IDS_BLACK,                "Black"
  88.   IDS_RED,                  "Red"
  89.   IDS_CENTER,               "Lower Center"
  90.   IDS_LEFT,                 "Lower Left"
  91.   IDS_RIGHT,                "Lower Right"
  92.  
  93.   /*
  94.    * Messages.
  95.    */
  96.   IDS_HELP_CREATION_FAILED,
  97.   "Creation of Help failed.  Help will not be available."
  98.  
  99.   IDS_UNKNOWN,
  100.   "Unknown MCI Error"
  101.  
  102.   IDS_CANNOT_FIND_AUDIO_FILE,
  103.   "The audio file cannot be found.  Please ensure that the audio file "
  104.   "is in the correct directory and retry."
  105.  
  106.   IDS_UNEXPECTED_EOF,
  107.   "An unexpected end-of-file marker was encountered.  Please ensure that "
  108.   "the caption file is not corrupt and retry."
  109.  
  110.   IDS_INVALID_FILE_FORMAT,
  111.   "An invalid file format was encountered.  Please ensure that the audio "
  112.   "and caption file are valid, and retry."
  113.  
  114.   IDS_TOO_MANY_LINES,
  115.   "There are too many text lines in the captioned file.  Please ensure that "
  116.   "the caption file is 500 lines or less, and retry."
  117.  
  118.   IDS_INVALID_WINDOW_HANDLE,
  119.   "The caption window cannot be initialized. An invalid main window "
  120.   "handle given."
  121.  
  122.   IDS_INVALID_FILE_NAME,
  123.   "The caption file cannot be found.  Please ensure that the caption file "
  124.   "is in the correct directory and retry."
  125. }
  126.  
  127. rcinclude CAPSAMP.DLG
  128.