home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / RXCALC.ZIP / PMREXX.RC < prev    next >
Text File  |  1992-01-14  |  5KB  |  121 lines

  1. #define  INCL_PM
  2. #define  INCL_WIN
  3. #include <os2.h>
  4. #include "pmrexx.h"
  5. #include "rxhdluse.h"
  6.  
  7. rcinclude pmrxhlp.rc
  8.  
  9. ICON    RXHOST_WIN pmrexx.ico
  10. POINTER 1 pmrexx.ico
  11.  
  12.  
  13. ACCELTABLE RXHOST_WIN PRELOAD
  14. BEGIN
  15.   VK_F3,    PMRXA_EXIT,        VIRTUALKEY
  16.   "S",      PMRXA_SAVE,        CHAR,        CONTROL
  17. END
  18.  
  19. STRINGTABLE
  20. BEGIN
  21.     PROGRAM_NAME             "PMREXX"
  22.     RXHM_PROC_ENDED          "The REXX procedure has ended.\n"
  23.     BAD_NUM_PARMS            "Invalid Number of Parameters.\nYou must at least specify a procedure name."
  24.     PMRXHB_FILEMASK          "*.*"
  25.     RXHA_MSGBOXHDR           "PMREXX: Error"
  26.     RXHM_PROC_NOT_FOUND      "The procedure file could not be found."
  27.  
  28.     RETRY                    "Retry"
  29.     CANCEL                   "Cancel"
  30.     ABORT                    "Abort"
  31.     IGNORE                   "Ignore"
  32.     OK                       "OK"
  33.     YES                      "Yes"
  34.     NO                       "No"
  35.     BENTER                   "Enter"
  36.  
  37.  
  38.     RXH_APP_ERROR            "A system call has returned an error."
  39.     RXH_READ_ERROR           "Error reading the file."
  40.     RXH_WRITE_ERROR          "Error writing to the File."
  41.     RXH_OPEN_ERROR           "Error Opening the File."
  42.     RXH_BAD_PATH             "The requested path does not exist."
  43.     RXH_TOO_MANY_OPEN        "There are too many open files."
  44.     RXH_ACCESS_DENIED        "The System has denied access."
  45.     RXH_INV_ACCESS           "Invalid Access Attempt."
  46.     RXH_NOT_DISK             "Not a DOS Disk."
  47.     RXH_SHARE_VIOL           "Sharing Violation."
  48.     RXH_SHARE_BUFF_EXC       "The Sharing Buffer has been exceeded."
  49.     RXH_CANNOT_MAKE          "The System cannot make the file handle."
  50.     RXH_DRIVE_LOCKED         "The requested Drive is locked."
  51.     RXH_DISK_FULL            "The requested Disk is full."
  52.     RXH_OUTOF_MEM            "The system is out of memory."
  53.     RXH_NOT_READY            "The requested device is not ready."
  54.     RXH_WRITE_PROT           "The disk has been write protected."
  55.     RXH_NAME_LONG            "The file name or extension is too long."
  56.     RXH_BAD_NAME             "The file name contains an incorrect character."
  57.     RXH_ERRC_OUTRES          "The system cannot allocate the resource."
  58.     RXH_ERRC_TEMPSIT         "Temporary situation"
  59.     RXH_ERRC_AUTH            "Authorization failed"
  60.     RXH_ERRC_INTRN           "Internal Error"
  61.     RXH_ERRC_HRDFAIL         "Device hardware failure"
  62.     RXH_ERRC_SYSFAIL         "System failure"
  63.     RXH_ERRC_APPERR          "Probable Application Error"
  64.     RXH_ERRC_NOTFND          "Item not located"
  65.     RXH_ERRC_BADFMT          "Bad format for call or data"
  66.     RXH_ERRC_LOCKED          "Resource or data is locked"
  67.     RXH_ERRC_MEDIA           "Incorrect media--CRC error"
  68.     RXH_ERRC_ALREADY         "Resource/action already exists/has been done"
  69.     RXH_ERRC_UNK             "Unclassified"
  70.     RXH_ERRC_CANT            "Cannot perform action"
  71.     RXH_ERRC_TIME            "Time-out"
  72.     RXH_ERRL_UNK             "Unknown Error"
  73.     RXH_ERRL_DISK            "A Disk Error has occurred"
  74.     RXH_ERRL_NET             "A Network Error has occurred"
  75.     RXH_ERRL_SERDEV          "A Serial Device Error has occurred"
  76.     RXH_ERRL_MEM             "A Memory Error has occurred"
  77.     RXH_WERRL_SHELL          "A Shell Error has occurred"
  78.     RXH_WERRL_GPI            "A Graphics Error has occurred"
  79.     RXH_WERRL_PM             "A Presentation Manager Error has occurred"
  80.     RXH_WERRL_UNK            "Unknown Error"
  81.     RXH_WERRC_UNK            "Unclassified"
  82.  
  83.     BACKPATH_DELIMETER       "\\"
  84.     DRIVE_DELIMETER          ":"
  85.  
  86.     MSG_FILE                 "OSO001.MSG"
  87.     SYS_ERROR_TEXT           "      System Error %d "
  88.     RXH_TITLE                "%s: %s"
  89.     RXH_WARNING              "%s - Warning"
  90.     RXH_CRITICAL             "%s - Critical Error"
  91.     RXH_ERRORTITLE           "%s - Error"
  92.     RXH_NOTIFICATION         "%s - Notification"
  93.     RXHD_EXISTS              "%s already exists.\n  Do you want to overwrite it?"
  94.  
  95.     SAVE_QUIT                "%s has changed.\n Do you want to save it?"
  96.     SAVE                     "Save"
  97.     PMRXHB_SAVETITLE         "Save PMREXX Output Window As"
  98.     NOCHANGE                 "%s has not changed.\n It will not be saved."
  99.     RX_UNTITLED              "Output"
  100. END
  101.  
  102. DLGTEMPLATE PMREXX_CUALOGO LOADONCALL MOVEABLE DISCARDABLE
  103. BEGIN
  104.     DIALOG "About PM/REXX", PMREXX_CUALOGO, 60, 40, 241, 113,
  105.                 FS_NOBYTEALIGN | FS_DLGBORDER | WS_CLIPSIBLINGS | WS_SAVEBITS,
  106.                 FCF_TITLEBAR
  107.     BEGIN
  108.         CONTROL "Operating System/2", -1, 70, 85, 100, 8,
  109.                 WC_STATIC, SS_TEXT | DT_CENTER | WS_VISIBLE
  110.         CONTROL "PM/REXX", -1, 44, 65, 150, 8,
  111.                 WC_STATIC, SS_TEXT | DT_CENTER | WS_VISIBLE
  112.         CONTROL "Version 1.20", -1, 45, 55, 150, 8,
  113.                 WC_STATIC, SS_TEXT | DT_CENTER | WS_VISIBLE
  114.         CONTROL "(C) Copyright IBM Corp. 1989.  All rights reserved.", -1, 2, 35, 240, 8,
  115.                  WC_STATIC, SS_TEXT | DT_CENTER | WS_VISIBLE
  116.         CONTROL "OK", DID_OK, 101, 4, 38, 12, WC_BUTTON, BS_PUSHBUTTON |
  117.                 BS_DEFAULT | WS_GROUP | WS_TABSTOP | WS_VISIBLE
  118.         CONTROL RXHOST_WIN, -1, 15, 85, 20, 20, WC_STATIC, SS_ICON | WS_VISIBLE
  119.     END
  120. END
  121.