home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / wf_expl / sample.rc < prev    next >
Text File  |  1992-05-02  |  3KB  |  67 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /* COPYRIGHT IBM CORP. 1992                                                 */
  4. /*                                                                          */
  5. /* ------------------------------------------------------------------------ */
  6. /*                                                                          */
  7. /* This file provdies a sample RC file which can be used to create the INI  */
  8. /* file for inputting into the ADDTOOL utility.                             */
  9. /*                                                                          */
  10. /*                                                                          */
  11. /****************************************************************************/
  12.  
  13. CODEPAGE 850
  14.  
  15. STRINGTABLE
  16. BEGIN
  17.  
  18. /* **** Tool Count **** */
  19.  
  20.   "TOOLS"      "COUNT"      "2"    /* defining 2 tools */
  21.  
  22.  
  23.  
  24. /* **** Tool 1 of 2 **** */
  25.  
  26.   "TOOLS1"     "TITLE"      "Sample Tool 1"             /* menu string     */
  27.  
  28.   "TOOLS1"     "PRG"        "sample1.exe"               /* program name    */
  29.  
  30.   "TOOLS1"     "DIR"        "."                         /* start directory */
  31.  
  32.   "TOOLS1"     "PROMPT"     "Sample 1 Optional prompt"  /* optional prompt */
  33.  
  34.   "TOOLS1"     "INVOKE"     "Sample 1 parameter"        /* invocation parm */
  35.  
  36.   "TOOLS1"     "PROMTYPE"   "1"                         /* 0 = don't prompt*/
  37.                                                         /* 1 = prompt      */
  38.  
  39.   "TOOLS1"     "SESSION"    "1"                         /* 0 = foreground  */
  40.                                                         /* 1 = background  */
  41.  
  42.   "TOOLS1"     "PRGMTYPE"   "1"                         /* 0 = program determines */
  43.                                                         /* 1 = OS/2 full screen   */
  44.                                                         /* 2 = OS/2 Text window   */
  45.                                                         /* 3 = Presentation Mngr  */
  46.                                                         /* 4 = DOS full screen    */
  47.                                                         /* 7 = DOS Text window    */
  48.  
  49.   "TOOLS1"     "NEW"        "0"
  50.  
  51.  
  52.  
  53.  
  54. /* **** Tool 2 of 2 **** */
  55.  
  56.   "TOOLS2"     "TITLE"      "Sample Tool 2"
  57.   "TOOLS2"     "PRG"        "sample2.exe"
  58.   "TOOLS2"     "DIR"        "c:\os2"
  59.   "TOOLS2"     "PROMPT"     ""
  60.   "TOOLS2"     "INVOKE"     ""
  61.   "TOOLS2"     "PROMTYPE"   "0"
  62.   "TOOLS2"     "SESSION"    "0"
  63.   "TOOLS2"     "PRGMTYPE"   "7"
  64.   "TOOLS2"     "NEW"        "0"
  65.  
  66. END
  67.