home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
warptlk3.zip
/
TOOLKIT
/
SAMPLES
/
REXX
/
API
/
PMREXX
/
PMREXX.RC
< prev
next >
Wrap
Text File
|
1995-08-24
|
6KB
|
142 lines
#define INCL_PM
#define INCL_WIN
#include <os2.h>
#include "pmrexx.h"
#include "rxhdluse.h"
#include "pmrxhlp.h"
#include "pmrexxio.h"
ICON RXHOST_WIN pmrexx.ico
POINTER 1 pmrexx.ico
BITMAP ID_BMP prodinfo.bmp
ACCELTABLE RXHOST_WIN PRELOAD
BEGIN
VK_F3, PMRXA_EXIT, VIRTUALKEY
"S", PMRXA_SAVE, CHAR, CONTROL
"s", PMRXA_SAVE, CHAR, CONTROL
VK_DELETE, RXIOA_DELETE, VIRTUALKEY
END
STRINGTABLE
BEGIN
PROGRAM_NAME "PMREXX"
RXHM_PROC_ENDED "The REXX procedure has ended.\n"
BAD_NUM_PARMS "Invalid Number of Parameters.\nYou must at least specify a procedure name."
PMRXHB_FILEMASK "*.*"
RXHA_MSGBOXHDR "PMREXX: Error"
RXHM_PROC_NOT_FOUND "The procedure file could not be found."
RELEASE_INFO "Release 2.0"
RETRY "Retry"
CANCEL "Cancel"
ABORT "Abort"
IGNORE "Ignore"
OK "OK"
YES "Yes"
NO "No"
BENTER "Enter"
RXH_APP_ERROR "A system call has returned an error."
RXH_READ_ERROR "Error reading the file."
RXH_WRITE_ERROR "Error writing to the File."
RXH_OPEN_ERROR "Error Opening the File."
RXH_BAD_PATH "The requested path does not exist."
RXH_TOO_MANY_OPEN "There are too many open files."
RXH_ACCESS_DENIED "The System has denied access."
RXH_INV_ACCESS "Invalid Access Attempt."
RXH_NOT_DISK "Not a DOS Disk."
RXH_SHARE_VIOL "Sharing Violation."
RXH_SHARE_BUFF_EXC "The Sharing Buffer has been exceeded."
RXH_CANNOT_MAKE "The System cannot make the file handle."
RXH_DRIVE_LOCKED "The requested Drive is locked."
RXH_DISK_FULL "The requested Disk is full."
RXH_OUTOF_MEM "The system is out of memory."
RXH_NOT_READY "The requested device is not ready."
RXH_WRITE_PROT "The disk has been write protected."
RXH_NAME_LONG "The file name or extension is too long."
RXH_BAD_NAME "The file name contains an incorrect character."
RXH_ERRC_OUTRES "The system cannot allocate the resource."
RXH_ERRC_TEMPSIT "Temporary situation"
RXH_ERRC_AUTH "Authorization failed"
RXH_ERRC_INTRN "Internal Error"
RXH_ERRC_HRDFAIL "Device hardware failure"
RXH_ERRC_SYSFAIL "System failure"
RXH_ERRC_APPERR "Probable Application Error"
RXH_ERRC_NOTFND "Item not located"
RXH_ERRC_BADFMT "Bad format for call or data"
RXH_ERRC_LOCKED "Resource or data is locked"
RXH_ERRC_MEDIA "Incorrect media--CRC error"
RXH_ERRC_ALREADY "Resource/action already exists/has been done"
RXH_ERRC_UNK "Unclassified"
RXH_ERRC_CANT "Cannot perform action"
RXH_ERRC_TIME "Time-out"
RXH_ERRL_UNK "Unknown Error"
RXH_ERRL_DISK "A Disk Error has occurred"
RXH_ERRL_NET "A Network Error has occurred"
RXH_ERRL_SERDEV "A Serial Device Error has occurred"
RXH_ERRL_MEM "A Memory Error has occurred"
RXH_WERRL_SHELL "A Shell Error has occurred"
RXH_WERRL_GPI "A Graphics Error has occurred"
RXH_WERRL_PM "A Presentation Manager Error has occurred"
RXH_WERRL_UNK "Unknown Error"
RXH_WERRC_UNK "Unclassified"
BACKPATH_DELIMETER "\\"
DRIVE_DELIMETER ":"
MSG_FILE "OSO001.MSG"
SYS_ERROR_TEXT " System Error %d "
RXH_TITLE "%s: %s"
RXH_WARNING "%s - Warning"
RXH_CRITICAL "%s - Critical Error"
RXH_ERRORTITLE "%s - Error"
RXH_NOTIFICATION "%s - Notification"
RXHD_EXISTS "%s already exists.\n Do you want to overwrite it?"
SAVE_QUIT "%s has changed.\n Do you want to save it?"
SAVE "Save"
PMRXHB_SAVETITLE "Save PMREXX Output Window As"
NOCHANGE "%s has not changed.\n It will not be saved."
RX_UNTITLED "Output"
END
DLGTEMPLATE PMREXX_CUALOGO LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Product Information", PMREXX_CUALOGO, 51, -42, 275, 120,
FS_NOBYTEALIGN | WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
PRESPARAMS PP_BACKGROUNDCOLOR, 0x00FFFFFFL
BEGIN
CONTROL ID_BMP, ID_BMP, 20, 70, 21, 21, WC_STATIC, SS_BITMAP |
WS_GROUP | WS_VISIBLE
CTEXT "(C) Copyright IBM Corporation 1994, 1995. All Rights "
"reserved.", 256, 10, 51, 255, 8
CTEXT "IBM is a registered trademark of", 258, 10, 37, 255,
8
CTEXT "International Business Machines Corp.", 257, 10, 26,
255, 8
DEFPUSHBUTTON "~OK", DID_OK, 111, 4, 45, 15
ICON RXHOST_WIN, RXHOST_WIN, 220, 70, 40, 40, WS_GROUP
CTEXT "Operating System/2", 3102, 60, 80, 160, 8
CTEXT "PM/REXX", 3103, 60, 64, 160, 8
PRESPARAMS PP_FOREGROUNDCOLOR, 0x000000FFL
END
END
DLGTEMPLATE PMREXX_SEARCH LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Search", PMREXX_SEARCH, 16, 28, 184, 85, WS_VISIBLE, FCF_SYSMENU |
FCF_TITLEBAR
BEGIN
LTEXT "Enter search text:", RX_SEARCH_TEXT, 5, 68, 86, 8
ENTRYFIELD "", RX_SEARCH_FIELD, 7, 53, 160, 8, ES_MARGIN | WS_GROUP
AUTOCHECKBOX "Case sensitive", RX_CASEBOX, 5, 33, 87, 10
DEFPUSHBUTTON "~OK", PB_OK, 5, 9, 40, 14, WS_GROUP
PUSHBUTTON "~Cancel", PB_CANCEL, 60, 9, 40, 14, NOT WS_TABSTOP
PUSHBUTTON "Help", 136, 115, 9, 40, 14, BS_HELP |
BS_NOPOINTERFOCUS | NOT WS_TABSTOP
END
END