
' ==============================
' = Constants
' ==============================
Global Const rcTrue          = -1    ' True
Global Const rcFalse         = 0     ' False
Global Const rcDefaultOptions = 0    ' Use default options
Global Const rcNone          = 0     ' None
Global Const rcEnabled       = -1    ' Property, command or group of commands is enabled
Global Const rcDisabled      = 0     ' Property, command or group of commands is disabled
Global Const rcPartiallyEnabled = -2 ' Group of commands is partially enabled/disabled
Global Const rcDefault       = 2     ' Restore to default
Global Const rcWebOpenAlways = 0     ' Always open downloaded settings files
Global Const rcWebOpenNever  = 1     ' Never open downloaded settings files
Global Const rcWebOpenAskUser = 2    ' Ask user if downloaded settings files should be opened
Global Const rcLogoff        = -1    ' Logoff when shutting down the Kermit server program
Global Const rcNoLogoff      = 0     ' Do not logoff when shutting down the Kermit server program
Global Const rcNoTranslation = 1     ' Do not translate between PC and host character set
Global Const rcNoDisplay     = 2     ' Do not show incoming data in Reflection's display
Global Const rcQuietDisplay  = 2     ' (null)
Global Const rcAllowKeystrokes = 4   ' Allow keystrokes during wait
Global Const rcIgnoreBlockMode = 8   ' Transmit data to the host, even in block mode
Global Const rcIgnoreCase    = 16    ' Treat uppercase and lowercase letters the same when matching characters
Global Const rcDecodePassword = 32   ' Decode (if necessary) a macro recorder encoded password before transmitting
Global Const rcHexData       = 64    ' Decode hexadecimal sequence so that binary sequence will not be affected by Unicode translation.
Global Const rcSelection     = 16    ' The current selection
Global Const rcScreen        = 32    ' The current terminal screen
Global Const rcAll           = 64    ' The current terminal screen and all previous terminal screens
Global Const rcWrappedRegion = 256   ' Wrapped region in Reflection's display
Global Const rcRectRegion    = 512   ' Rectangular region in Reflection's display
Global Const rcAsPlainText   = 1024  ' Copy to clipboard as plain text
Global Const rcAsTableText   = 2048  ' Copy to clipboard as table text
Global Const rcAsRichText    = 4096  ' Copy to clipboard as Rich Text Format
Global Const rcAsBitmap      = 8192  ' Copy to clipboard as bitmap graphics
Global Const rcAsXML         = 16384 ' Copy to clipboard as XML
Global Const rcNormalKey     = 0     ' No key modifier
Global Const rcAltKey        = 1     ' Alt key modifier
Global Const rcOptionKey     = 1     ' (null)
Global Const rcAlt           = 1     ' (null)
Global Const rcCtrlKey       = 2     ' Control key modifier
Global Const rcCtrl          = 2     ' (null)
Global Const rcShiftKey      = 4     ' Shift key modifier
Global Const rcShift         = 4     ' (null)
Global Const rcReleaseButton = 32    ' Release Button modifier
Global Const rcASCII         = 0     ' ASCII file transfer
Global Const rcBinary        = 1     ' Binary file transfer
Global Const rcLabels        = 2     ' Labels file transfer
Global Const rcImage         = 2     ' Image file transfer
Global Const rcAutoDetect    = 3     ' Auto-Detect file transfer
Global Const rcScan          = 5     ' Scan file to determine file transfer type
Global Const rcSettings      = 1     ' All Reflection settings
Global Const rcCurrentProduct = 15   ' Reflection settings for current product
Global Const rcKeymap        = 2     ' Reflection keyboard mapping settings
Global Const rcToolbar       = 3     ' Reflection toolbar configuration settings
Global Const rcColors        = 4     ' Reflection color configuration settings
Global Const rcHotspots      = 5     ' Reflection hotspots configuration settings
Global Const rcConnection    = 7     ' Reflection connection configuration settings
Global Const rcMenumap       = 36    ' Reflection menu mapping settings
Global Const rcProfile       = 6     ' Reflection profiled commands
Global Const rcSettingsUpdate = 43   ' Reflection update settings
Global Const rcUnknown       = 14    ' Unknown file type
Global Const rcXMLSettings   = 1     ' All Reflection settings
Global Const rcXMLProperties = 2     ' Reflection properties
Global Const rcXMLKeymap     = 5     ' Reflection keyboard mapping settings
Global Const rcXMLMousemap   = 6     ' Reflection mouse mapping settings
Global Const rcXMLToolbars   = 8     ' Reflection toolbar configuration settings
Global Const rcXMLColors     = 4     ' Reflection color configuration settings
Global Const rcXMLHotspots   = 9     ' Reflection hotspots configuration settings
Global Const rcXMLConnection = 3     ' Reflection connection configuration settings
Global Const rcXMLMenus      = 7     ' Reflection menu mapping settings
Global Const rcXMLEvents     = 10    ' Reflection event settings
Global Const rcXMLDisabled   = 11    ' Reflection disabled settings
Global Const rcXMLFkeys      = 12    ' Reflection function key settings
Global Const rcXMLScreen     = 16    ' Reflection screen contents
Global Const rcXMLSettingsDTD = 30   ' Reflection settings DTD
Global Const rcXMLScreenDTD  = 31    ' Reflection screen DTD
Global Const rcChanged       = 1     ' Settings that have changed from default values
Global Const rcCancel        = 4     ' Cancel operation if file exists
Global Const rcAskUser       = 0     ' Prompt user with choice
Global Const rcOverwrite     = 1     ' Overwrite existing file
Global Const rcDelete        = 5     ' Delete existing file
Global Const rcAppend        = 2     ' Append to existing file
Global Const rcRename        = 6     ' Rename existing file
Global Const rcUpdate        = 7     ' Update existing file
Global Const rcSkip          = 8     ' Skip existing file
Global Const rcResume        = 9     ' Resume cancelled transfer if file exists
Global Const rcUseRemote     = 10    ' Use remote if file exists
Global Const rcPurge         = 11    ' Purge if file exists
Global Const rcDOSCharacterSet = 1   ' Use DOS character set
Global Const rcWindowsCharacterSet = 0 ' Use Windows character set
Global Const rcRLE           = 1     ' Use run length encoding for compression
Global Const rcHuffman       = 2     ' Use Huffman encoding for compression
Global Const rcNegotiate     = 1     ' Negotiate fast file transfer
Global Const rcAlways        = 2     ' Always use fast file transfer
Global Const rcNever         = 3     ' Never user fast file transfer
Global Const rcHP1000        = 3     ' HP 1000 host system
Global Const rcHP3000        = 4     ' HP 3000 host system
Global Const rcVMS           = 5     ' OpenVMS host system
Global Const rcOpenVMS       = 5     ' OpenVMS host system
Global Const rcUNIX          = 6     ' Unix host system
Global Const rcOther         = 7     ' Other host system
Global Const rcUnisys        = 8     ' UNISYS A-Series host system
Global Const rcMPE           = 1     ' MPE
Global Const rcMPEOnly       = 2     ' MPEOnly
Global Const rcPOSIX         = 3     ' POSIX
Global Const rcAuto          = 4     ' Reflection will automatically determine the proper setting
Global Const rcAnonymous     = 1     ' Anonymous Log In
Global Const rcNoLogInDialog = 2     ' Do not display log in dialog
Global Const rcSimple        = 0     ' Simple beep
Global Const rcWindowsBeep   = 2     ' Standard Windows beep
Global Const rcDOSBeep       = 1     ' Standard DOS beep
Global Const rcNoBeep        = 4     ' Do not beep
Global Const rcHP            = 1     ' HP terminal class
Global Const rcDEC           = 2     ' DEC terminal class
Global Const rcHP2392A       = 100   ' HP2392A terminal
Global Const rcHP70092       = 101   ' HP70092 terminal
Global Const rcHP70094       = 102   ' HP70094 terminal
Global Const rcVT52          = 200   ' VT52 terminal
Global Const rcVT102         = 203   ' VT102 terminal
Global Const rcVT220_7       = 205   ' VT220 7-Bit terminal
Global Const rcVT220_8       = 206   ' VT220 8-Bit terminal
Global Const rcVT300_7       = 207   ' VT300 7-Bit terminal
Global Const rcVT300_8       = 208   ' VT300 8-Bit terminal
Global Const rcVT400_7       = 210   ' VT400 7-Bit terminal
Global Const rcVT400_8       = 211   ' VT400 8-Bit terminal
Global Const rcVT500_7       = 210   ' VT500 7-Bit terminal
Global Const rcVT500_8       = 211   ' VT500 8-Bit terminal
Global Const rcANSIBBS       = 218   ' ANSI (BBS) terminal
Global Const rcANSIUNIX      = 219   ' ANSI (UNIX) terminal
Global Const rcTek401X       = 220   ' Tektronix 401x terminal
Global Const rcADDS          = 229   ' ADDS VP2 terminal
Global Const rcWYSE50        = 230   ' Wyse 50+ terminal
Global Const rcWYSE60        = 231   ' Wyse 60 terminal
Global Const rcDG215         = 232   ' DG 215 terminal
Global Const rcT27           = 233   ' Unisys T27 terminal
Global Const rcLINUX_CONSOLE = 234   ' Linux Console
Global Const rcAT386         = 235   ' AT386 Console
Global Const rcIBM3151       = 237   ' IBM 3151 terminal
Global Const rcTVI955        = 238   ' TVI 955 terminal
Global Const rcVTUTF8        = 239   ' VT-UTF8 terminal
Global Const rcWRQ           = 3     ' WRQ file transfer protocol
Global Const rcXmodem        = 4     ' Xmodem file transfer protocol
Global Const rcZmodem        = 5     ' Zmodem file transfer protocol
Global Const rcKermit        = 6     ' Kermit file transfer protocol
Global Const rcFTP           = 7     ' FTP file transfer protocol
Global Const rcUseBitmap     = 1     ' Use off-screen bitmap for scrolling
Global Const rcStandardScroll = 2    ' Use standard scrolling
Global Const rcDECSupplemental = 100 ' DEC supplemental character set
Global Const rcISOLatin1     = 101   ' ISO Latin 1 (ISO-8859-1), Western Europe
Global Const rcISOLatin_1    = 101   ' ISO Latin 1 (ISO-8859-1), Western Europe
Global Const rcPC437_English = 102   ' PC codepage 437
Global Const rcPC850_Multilingual = 103 ' PC codepage 850
Global Const rcHPRoman8      = 104   ' HP Roman 8 character set
Global Const rcHPRoman9      = 157   ' HP Roman 9 character set
Global Const rcPC852_Slavic  = 105   ' PC codepage 852, Eastern Europe
Global Const rcPC855_Cyrillic = 106  ' PC codepage 855, Cyrillic
Global Const rcPC857_Turkish = 107   ' PC codepage 857, Turkish
Global Const rcPC860_Portuguese = 108 ' PC codepage 860, Portuguese
Global Const rcPC861_Icelandic = 109 ' PC codepage 861, Icelandic
Global Const rcPC863_CanadianFrench = 110 ' PC codepage 863, Canadian-French
Global Const rcPC864_Arabic  = 111   ' PC codepage 864, Arabic
Global Const rcPC865_Nordic  = 112   ' PC codepage 865, Norwegian
Global Const rcPC866_Cyrillic = 113  ' PC codepage 866, Cyrillic
Global Const rcPC869_ModernGreek = 114 ' PC codepage 869, Modern Greek
Global Const rcISOLatin2     = 115   ' ISO Latin 2 (ISO-8859-2), Eastern Europe
Global Const rcISOLatin_2    = 115   ' ISO Latin 2 (ISO-8859-2), Eastern Europe
Global Const rcISOLatin5     = 116   ' ISO Cyrillic (ISO-8859-5)
Global Const rcISOCyrillic   = 116   ' ISO Cyrillic (ISO-8859-5)
Global Const rcISOLatin6     = 117   ' ISO Arabic (ISO-8859-6)
Global Const rcISOArabic     = 117   ' ISO Arabic (ISO-8859-6)
Global Const rcISOLatin7     = 118   ' ISO Greek (ISO-8859-7)
Global Const rcISOGreek      = 118   ' ISO Greek (ISO-8859-7)
Global Const rcISOLatin8     = 119   ' ISO Hebrew (ISO-8859-8)
Global Const rcISOHebrew     = 119   ' ISO Hebrew (ISO-8859-8)
Global Const rcISOLatin9     = 120   ' ISO Latin 5 (ISO-8859-9), Turkish
Global Const rcISOLatin_5    = 120   ' ISO Latin 5 (ISO-8859-9), Turkish
Global Const rcISOLatin_9    = 156   ' ISO Latin 9 (ISO-8859-15), Western Europe
Global Const rcShiftJIS      = 121   ' Double byte, SHIFTJIS
Global Const rcJIS1990       = 122   ' Double byte, JIS x0208-1990
Global Const rcJIS1983       = 123   ' Double byte, JIS x0208-1983
Global Const rcJIS1978       = 124   ' Double byte, JIS C6226-1978
Global Const rcDECKanji1983  = 125   ' Double byte, new DEC Kanji
Global Const rcDECKanji1978  = 126   ' Double byte, old DEC Kanji
Global Const rcEUCKanji      = 127   ' Double byte, EUC Kanji
Global Const rcBig5          = 128   ' Double byte, Big 5 (Taiwan)
Global Const rcCCDC          = 129   ' Double byte, CCDC (Taiwan)
Global Const rcGBChinese     = 130   ' Double byte, GB (PRC)
Global Const rcKorean        = 131   ' Double byte, Korean KCS 5601
Global Const rcHPGreek       = 132   ' HP Greek character set
Global Const rcDECGreek      = 133   ' DEC Supplemental Greek character set
Global Const rcPC437G_Greek  = 134   ' PC codepage 437, Greek
Global Const rcYUASCII       = 135   ' YUASCII 7-bit character set
Global Const rcJISKatakana   = 136   ' Single-byte Katakana character set
Global Const rcNECN88        = 137   ' NEC Host (double-byte) character set
Global Const rcPC862_Hebrew  = 138   ' PC codepage 862, Hebrew
Global Const rcHPHebrew      = 139   ' HP Hebrew character set
Global Const rcDECHebrew     = 140   ' DEC Hebrew character set
Global Const rc7BitHebrew    = 141   ' 7-Bit Hebrew character set
Global Const rcDECCyrillic   = 142   ' DEC Cyrillic character set
Global Const rcHPTurkish     = 143   ' HP Turkish character set
Global Const rcDECTurkish    = 144   ' DEC Turkish character set
Global Const rcPC220_Spanish = 145   ' PC codepage 220, Spanish
Global Const rcPC437T_Turkish = 146  ' PC codepage 437T, Turkish
Global Const rcSBig5         = 147   ' SBig5 character set
Global Const rcThai988TISO   = 148   ' Thai 988 TISO character set
Global Const rcThaiTISO      = 149   ' Thai TISO character set
Global Const rcThaiKU        = 150   ' Thai KU character set
Global Const rcThaiPrime     = 151   ' Thai Prime character set
Global Const rcDGInternational = 152 ' DG International character set
Global Const rcWindows1250   = 153   ' Windows CP 1250 character set
Global Const rcWindows1251   = 161   ' Windows CP 1251 character set
Global Const rcWindows1252   = 162   ' Windows CP 1252 character set
Global Const rcWindows1253   = 163   ' Windows CP 1253 character set
Global Const rcWindows1254   = 164   ' Windows CP 1254 character set
Global Const rcWindows1257   = 165   ' Windows CP 1257 character set
Global Const rcEastern_Europe_7bit = 135 ' Eastern Europe 7-bit character set
Global Const rcLatinGreek7   = 154   ' Latin/Greek 7-bit character set
Global Const rcSuperDECKanji = 158   ' SuperDECKanji
Global Const rcUnisInternat  = 159   ' Unisys International character set
Global Const rcTraditionalChinese = 160 ' Traditional Chinese character set
Global Const rcTVIMultinational = 166 ' TVI Multinational character set
Global Const rcUTF8          = 167   ' UTF-8 character set
Global Const rcNoDither      = 1     ' Disable image dithering
Global Const rcPartialDither = 2     ' Do partial image dithering
Global Const rcFullDither    = 3     ' Do full image dithering
Global Const rcUnlimitedScroll = -1  ' Scroll rate based on data throughput
Global Const rcScrollByPage  = -2    ' Scroll a page at a time
Global Const rcScrollBy1     = 1     ' Scroll 1 line at a time
Global Const rcScrollBy2     = 2     ' Scroll 2 lines at a time
Global Const rcScrollBy4     = 4     ' Scroll 4 lines at a time
Global Const rcScrollBy8     = 8     ' Scroll 8 lines at a time
Global Const rcScrollBy16    = 16    ' Scroll 16 lines at a time
Global Const rcScrollBy32    = 32    ' Scroll 32 lines at a time
Global Const rcScrollBy64    = 64    ' Scroll 64 lines at a time
Global Const rcScrollBy128   = 128   ' Scroll 128 lines at a time
Global Const rcChecksum1Byte = 1     ' One byte checksum
Global Const rcChecksum2Byte = 2     ' Two byte checksum
Global Const rcCRC           = 3     ' Cyclic redundancy check
Global Const rcVT100         = 201   ' VT100 terminal
Global Const rcVT101         = 202   ' VT101 terminal
Global Const rcVT220         = 204   ' VT220 terminal
Global Const rcVT320         = 209   ' VT320 terminal
Global Const rcVT420         = 212   ' VT420 terminal
Global Const rcVT510         = 236   ' VT510 terminal
Global Const rcVT520         = 240   ' VT520 terminal
Global Const rcVT525         = 241   ' VT525 terminal
Global Const rcWRQID         = 213   ' WRQ terminal
Global Const rcVT240         = 214   ' VT240 terminal
Global Const rcVT241         = 215   ' VT241 terminal
Global Const rcVT330         = 216   ' VT330 terminal
Global Const rcVT340         = 217   ' VT340 terminal
Global Const rcVT80          = 221   ' VT80 terminal
Global Const rcVT100J        = 222   ' VT100J terminal
Global Const rcVT102J        = 223   ' VT102J terminal
Global Const rcVT220J        = 224   ' VT220J terminal
Global Const rcVT240J        = 225   ' VT240J terminal
Global Const rcVT282         = 226   ' VT282 terminal
Global Const rcVT286         = 227   ' VT286 terminal
Global Const rcVT382         = 228   ' VT382 terminal
Global Const rcCompress      = 1     ' Prints vertically
Global Const rcRotate        = 2     ' Prints horizontally
Global Const rcExpand        = 3     ' Prints vertically with expanded characters
Global Const rcUSASCII       = 0     ' United States ASCII character set
Global Const rcBritish       = 1     ' British
Global Const rcFrench        = 3     ' French
Global Const rcGerman        = 4     ' German
Global Const rcItalian       = 5     ' Italian
Global Const rcNorwegian     = 6     ' Norwegian
Global Const rcDanish        = 16    ' Danish
Global Const rcSwedish       = 7     ' Swedish
Global Const rcDutch         = 24    ' Dutch
Global Const rcSwissGerman   = 9     ' Swiss German
Global Const rcEuropeanSpanish = 22  ' European Spanish
Global Const rcLatinSpanish  = 23    ' Latin Spanish
Global Const rcPortuguese    = 12    ' Portuguese
Global Const rcFinnish       = 17    ' Finnish
Global Const rcCanadianEnglish = 21  ' Canadian English
Global Const rcFlemish       = 25    ' Flemish
Global Const rcCanadianFrench = 2    ' Canadian French
Global Const rcSwissFrench   = 8     ' Swiss French
Global Const rcEnglish       = 0     ' English
Global Const rcJapanese      = 26    ' Japanese
Global Const rcLanguageUnknown = 255 ' Language Unknown
Global Const rc4k            = 4     ' 4k (primary status response)
Global Const rc8k            = 8     ' 8k (primary status response)
Global Const rc12k           = 12    ' 12k (primary status response)
Global Const rc15k           = 15    ' 15k (primary status response)
Global Const rcLine          = 1     ' In block mode, transfer data one line at a time
Global Const rcPage          = 2     ' In block mode, transfer data one page at a time
Global Const rcVB            = 1     ' Obsolete synonym for rcRB
Global Const rcRB            = 1     ' Enable/disable Reflection Basic scripts
Global Const rcRCL           = 2     ' Enable/disable Reflection Command Language
Global Const rcRBHost        = 3     ' Enable/disable host-initiated Reflection Basic commands
Global Const rcHost          = 3     ' Obsolete synonym for rcRBHost
Global Const rcVBLocal       = 4     ' Obsolete synonym for rcRBLocal
Global Const rcRBLocal       = 4     ' Enable/disable user-initiated Reflection Basic scripts
Global Const rcOLEAutomation = 5     ' Enable/disable access to Reflection via OLE Automation
Global Const rcDDEServer     = 24    ' Enable/disable DDE server support
Global Const rcRCLHost       = 6     ' Obsolete synonym for rcHost
Global Const rcRCLLocal      = 7     ' Enable/disable user-initiated RCL commands
Global Const rcUntitled      = 25    ' Enable/disable sessions without a settings file
Global Const rcCmdLineCommands = 26  ' Enable/disable execution of startup command line commands
Global Const rcSetup         = 8     ' Enable/disable access to all setup menus and dialogs
Global Const rcFileTransfer  = 9     ' Enable/disable access to file transfer menus and dialogs
Global Const rcHostDirectory = 10    ' Enable/disable access to file transfer host directory information
Global Const rcTracing       = 11    ' Enable/disable tracing
Global Const rcMenus         = 12    ' Enable/disable all of Reflection's menus
Global Const rcSavePasswords = 13    ' Enable/disable saving and recording of passwords
Global Const rcFileTransferReceive = 14 ' Enable/disable ability to receive files from the host computer using file transfer
Global Const rcFileTransferSend = 15 ' Enable/disable ability to send files to the host computer using file transfer
Global Const rcSecondInstance = 16   ' Enable/Disable multiple instances of Reflection
Global Const rcUnsecureConnections = 17 ' Enable/Disable unencrypted connections
Global Const rcUnencryptedConnections = 17 ' Enable/Disable unencrypted connections
Global Const rcMenuConversion = 18   ' Enable/Disable conversion of custom menus
Global Const rcCustomRloginUserName = 23 ' Enable/Disable change from Windows User Name for Rlogin
Global Const rcSpeakerOn     = 1     ' Modem speaker is always on
Global Const rcSpeakerOff    = 2     ' Modem speaker is always off
Global Const rcSpeakerDialing = 3    ' Modem speaker is on during dialing
Global Const rcSpeakerLow    = 4     ' Modem speaker volume is low
Global Const rcSpeakerMedium = 5     ' Modem speaker volume is medium
Global Const rcSpeakerHigh   = 6     ' Modem speaker volume is high
Global Const rcNotMapped     = 0     ' This key is not mapped
Global Const rcVBCommand     = 9     ' This key invokes a Visual Basic command
Global Const rcVBMacro       = 8     ' This key invokes a Visual Basic macro
Global Const rcRBCommand     = 1     ' This key invokes a Reflection Basic command
Global Const rcRBScript      = 2     ' This key invokes a Reflection Basic script
Global Const rcBuiltInFunction = 3   ' This key executes a built-in function
Global Const rcTransmitString = 4    ' This key transmits a string with character translation
Global Const rcRCLCommand    = 6     ' This key executes an RCL command or script
Global Const rcDefaultMap    = 7     ' Restore this key to its default mapping
Global Const rcReflection1   = 1     ' Reflection 1 session
Global Const rcReflection2   = 2     ' Reflection 2 session
Global Const rcReflection4   = 4     ' Reflection 4 session
Global Const rcReflectionIBM = 8     ' Reflection IBM session
Global Const rcFTPClient     = 16    ' Reflection FTP client session
Global Const rcReflectionX   = 32    ' Reflection X session
Global Const rcConnectionWizard = 64 ' Reflection Connection Wizard session
Global Const rcSoftReset     = 1     ' Perform a soft reset of the terminal
Global Const rcHardReset     = 2     ' Perform a hard reset of the terminal
Global Const rcSerialStats   = 3     ' Reset the serial connection statistics
Global Const rcNormalScanCode = 0    ' Normal scan code
Global Const rcExtendedScanCode = 1  ' Extended scan code
Global Const rcExtendedE1ScanCode = 2 ' Extended E1 scan code
Global Const rcTraceDefault  = 1     ' Trace incoming and outgoing datacomm
Global Const rcTraceTimed    = 2     ' Trace incoming and outgoing datacomm with timing information
Global Const rcTraceIncomingOnly = 3 ' Trace incoming datacomm only
Global Const rcTraceEvents   = 4     ' Trace events
Global Const rcRBSource      = 8     ' Reflection Basic source code
Global Const rcVBSource      = 9     ' Visual Basic source code
Global Const rcRCLSource     = 13    ' RCL source code
Global Const rcMinimized     = 1     ' Minimized (iconic) window
Global Const rcMaximized     = 2     ' Maximized (full-screen) window
Global Const rcNormal        = 0     ' Normal (restored) window
Global Const rcUser          = 1     ' User defined key set
Global Const rcModes         = 2     ' Mode definition key set
Global Const rcDeviceControl = 3     ' Device control key set
Global Const rcDeviceModes   = 4     ' Device modes key set
Global Const rcToDevices     = 5     ' Destination device key set
Global Const rcEnhanceVideo  = 6     ' Video enhancements key set
Global Const rcDefineField   = 7     ' Field Definition key set
Global Const rc7BitLink      = 1     ' 7-bit transfer link
Global Const rc8BitLink      = 2     ' 8-bit transfer link
Global Const rcUserDefinedLink = 3   ' User-defined transfer link
Global Const rcDCD           = 1     ' Use DCD modem status to indicate connection state
Global Const rcDSR           = 2     ' Use DSR modem status to indicate connection state
Global Const rcCTS           = 3     ' Use CTS modem status to indicate connection state
Global Const rcNoConnect     = 1     ' On startup, load settings file but do not connect
Global Const rcAutoConnect   = 54    ' On startup, automatically connect using saved settings
Global Const rcConnectionDirectory = 3 ' On startup, show the Connection Directory dialog
Global Const rcConnectionSetup = 4   ' On startup, show the Connection Setup dialog
Global Const rcUseSavedConnection = 5 ' On startup, connect using a saved connection from the Connection Directory
Global Const rcOpenSettings  = 6     ' On startup, show the Open Settings dialog
Global Const rcNormalMode    = 1     ' Normal cursor keys mode
Global Const rcNumericMode   = 2     ' Numeric keypad mode
Global Const rcApplicationMode = 3   ' Application keypad/cursor keys mode
Global Const rcBackspaceKey  = 1     ' Transmit a backspace to the host
Global Const rcDeleteKey     = 2     ' Transmit a delete to the host
Global Const rcAllFields     = 1     ' Transmit all fields to the host in format mode
Global Const rcModifiedFields = 2    ' Transmit only modified fields to the host in format mode
Global Const rcNoStatusLine  = 1     ' Don't show the host status line
Global Const rcIndicator     = 2     ' Show indicator status line
Global Const rcHostWritable  = 3     ' Show host writable status line
Global Const rcToPrinter     = 1     ' Images are sent to printer
Global Const rcToHost        = 2     ' Images are set to host
Global Const rcLevel1        = 1     ' Level 1 sixel device (aspect ration 2:1)
Global Const rcLevel2        = 2     ' Level 2 sixel device (variable aspect ratio and horizontal grid size)
Global Const rcLA210         = 3     ' LA210 (1:1 aspect ratio with a horizontal grid size of about 338 x 0.025 mm)
Global Const rcTektronixLargeFont = 0 ' Use Tektronix large font
Global Const rcTektronixMediumFont = 1 ' Use Tektronix medium font
Global Const rcTektronixSmallFont = 2 ' Use Tektronix small font
Global Const rcTektronixSmallestFont = 3 ' Use Tektronix smallest font
Global Const rcUppercase     = 1     ' Host file names are created using all uppercase letters
Global Const rcLowercase     = 2     ' Host file names are created using all lowercase letters
Global Const rcPreserveCase  = 3     ' Host file names are created preserving letter case.
Global Const rcXmodemCRC     = 1     ' Specifies 2-byte CRC and 128-byte packets
Global Const rcXmodem1k      = 2     ' Specifies 2-byte CRC and 1024-byte packets
Global Const rcReceiverOverruns = 1  ' Overrun errors
Global Const rcParityErrors  = 2     ' Parity errors
Global Const rcFramingErrors = 3     ' Framing errors
Global Const rcReceiveBufferOverflow = 4 ' Overflow in receive buffer
Global Const rcBreakDetect   = 5     ' Interruption in transmitting signal
Global Const rcUnderline     = 1     ' Underline cursor shape
Global Const rcBlock         = 4     ' Block cursor shape
Global Const rcVerticalBar   = 5     ' Vertical bar cursor shape
Global Const rcNoColor       = -1    ' No color
Global Const rcWhite         = 0     ' White
Global Const rcGrey          = 1     ' Grey
Global Const rcRed           = 2     ' Red
Global Const rcBlue          = 3     ' Blue
Global Const rcGreen         = 4     ' Green
Global Const rcYellow        = 5     ' Yellow
Global Const rcCyan          = 6     ' Cyan
Global Const rcMagenta       = 7     ' Magenta
Global Const rcBlack         = 8     ' Black
Global Const rcDkGrey        = 9     ' Dark Grey
Global Const rcDkRed         = 10    ' Dark Red
Global Const rcDkBlue        = 11    ' Dark Blue
Global Const rcDkGreen       = 12    ' Dark Green
Global Const rcDkYellow      = 13    ' Dark Yellow
Global Const rcDkCyan        = 14    ' Dark Cyan
Global Const rcDkMagenta     = 15    ' Dark Magenta
Global Const rcAnsiWhite     = 23    ' ANSI White
Global Const rcAnsiGrey      = 24    ' ANSI Grey
Global Const rcAnsiRed       = 20    ' ANSI Red
Global Const rcAnsiBlue      = 17    ' ANSI Blue
Global Const rcAnsiGreen     = 18    ' ANSI Green
Global Const rcAnsiBrown     = 22    ' ANSI Brown
Global Const rcAnsiCyan      = 19    ' ANSI Cyan
Global Const rcAnsiMagenta   = 21    ' ANSI Magenta
Global Const rcAnsiBlack     = 16    ' ANSI Black
Global Const rcAnsiLtWhite   = 31    ' ANSI Light White
Global Const rcAnsiLtRed     = 28    ' ANSI Light Red
Global Const rcAnsiLtBlue    = 25    ' ANSI Light Blue
Global Const rcAnsiLtGreen   = 26    ' ANSI Light Green
Global Const rcAnsiYellow    = 30    ' ANSI Yellow
Global Const rcAnsiLtCyan    = 27    ' ANSI Light Cyan
Global Const rcAnsiLtMagenta = 29    ' ANSI Light Magenta
Global Const rcOtherColor    = 17    ' Other color
Global Const rcAttributeCharacter = 0 ' Wyse character attribute mode
Global Const rcAttributeLine = 1     ' Wyse line attribute mode
Global Const rcAttributePage = 2     ' Wyse page attribute mode
Global Const rcUSCR          = 0     ' Wyse Block Terminator is US/CR
Global Const rcCRETX         = 1     ' Wyse Block Terminator is CR/ETX
Global Const rcWyseCR        = 0     ' Wyse return/enter keys send CR
Global Const rcWyseCRLF      = 1     ' Wyse return/enter keys send CRLF
Global Const rcWyseTAB       = 2     ' Wyse return/enter keys send tab
Global Const rcNoCharacter   = -1    ' No character, past end of line
Global Const rcPlainAttribute = 0    ' Plain character
Global Const rcBlinkAttribute = 1    ' Blinking character
Global Const rcInverseAttribute = 2  ' Inverse text character
Global Const rcUnderlineAttribute = 4 ' Underlined character
Global Const rcBoldAttribute = 8     ' Bold character
Global Const rcHalfbrightAttribute = 8 ' Halfbright character
Global Const rcDimAttribute  = 16    ' ANSI Dim character
Global Const rcFunctionKeys  = 16    ' HP Terminal Function Keys
Global Const rcHotspotAttribute = 17 ' Hotspot display attributes
Global Const rcCursorAttribute = 18  ' Cursor color attributes
Global Const rcWyseStatusOff = 0     ' Wyse status line is off
Global Const rcWyseStatusEdit = 1    ' Wyse status line is Edit
Global Const rcWyseStatusStandard = 2 ' Wyse status line is Standard
Global Const rcDefaultOrientation = 0 ' Print with printer default orientation
Global Const rcPortraitOrientation = 1 ' Print in portrait orientation
Global Const rcLandscapeOrientation = 2 ' Print in landscape orientation
Global Const rcPrintDuplexDefault = 0 ' Print with printer default duplex
Global Const rcPrintDuplexSimplex = 1 ' Print one-sided
Global Const rcPrintDuplexVertical = 2 ' Print two-sided, long-edge binding
Global Const rcPrintDuplexHorizontal = 3 ' Print two-sided, short-edge binding
Global Const rcPrintDuplex4  = 4     ' Print with non-standard duplex setting 4
Global Const rcPrintDuplex5  = 5     ' Print with non-standard duplex setting 5
Global Const rcLeftButton    = 513   ' Left mouse button
Global Const rcMiddleButton  = 516   ' Middle mouse button
Global Const rcRightButton   = 514   ' Right mouse button
Global Const rcLeftButton_DoubleClick = 521 ' Double-click of left mouse button
Global Const rcMiddleButton_DoubleClick = 524 ' Double-click of middle mouse button
Global Const rcRightButton_DoubleClick = 522 ' Double-click of right mouse button
Global Const rcStatusBoxTitleBar = 1 ' Show the Title Bar in the StatusBox
Global Const rcChangesNever  = 0     ' Never save changes when exiting Reflection
Global Const rcChangesAlways = -1    ' Always save changes when exiting Reflection
Global Const rcChangesAskUser = 2    ' Ask user whether to save changes when exiting Reflection
Global Const rcPrintGraphColor = 0   ' Graphics image is printed in color
Global Const rcPrintGraphMonochrome = 1 ' Graphic image is printed in monochrome
Global Const rcPrintGraphicsHLS = 0  ' Graphic Color Image is printed in HLS
Global Const rcPrintGraphicsRGB = 1  ' Graphic Color Image is printed in RGB
Global Const rcEnable        = 1     ' Enable an Event
Global Const rcDisable       = 0     ' Disable an Event
Global Const rcEventDisable  = 2     ' Disable an Event after performing action
Global Const rcEventReenable = 1     ' Re-enable an Event after performing action
Global Const rcEventRemove   = 3     ' Remove an Event after performing action
Global Const rcAllEvents     = 0     ' Applies to all events
Global Const rcNextEvent     = 0     ' Use next available event number
Global Const rcEvConnected   = 2     ' Event: connection established
Global Const rcEvDisconnected = 3    ' Event: connection terminated
Global Const rcReflectionStart = 13  ' Event: Reflection started
Global Const rcReflectionExit = 14   ' Event: Reflection is exiting
Global Const rcTerminalKeystroke = 12 ' Event: A terminal keystoke is sent
Global Const rcLoadSettingsFile = 15 ' Event: A settings file is loading
Global Const rcTime          = 11    ' Event: Time elapsed since event defined
Global Const rcTimeOfDay     = 10    ' Event: A specific time of day
Global Const rcSilence       = 0     ' Event: A period of no datacomm
Global Const rcKbdEnabled    = 1     ' Event: Keyboard enabled for specified time
Global Const rcBlockModeEnter = 16   ' Event: Terminal enters block mode
Global Const rcBlockModeExit = 17    ' Event: Terminal exits block mode
Global Const rcIsPassword    = 1     ' Login property is a password
Global Const rcEnterPos      = 6     ' Event: Cursor enters a position
Global Const rcExitPos       = 7     ' Event: Cursor exits a position
Global Const rcDisplayString = 9     ' Event: String appears on screen
Global Const rcCommString    = 8     ' Event: String received from host
Global Const rcAnyRow        = 0     ' Event: can occur on any screen row
Global Const rcAnyCol        = 0     ' Event: can occur on any screen column
Global Const rcFileTransferDone = 19 ' Event: When a file transfer has finished
Global Const rcT27SpecifyASCII = 0   ' T27 SPCFY key sends ASCII
Global Const rcT27SpecifyHex = 1     ' T27 SPCFY key sends hex
Global Const rcT27CRLF       = 0     ' T27 return is CRLF
Global Const rcT27CR         = 1     ' T27 return is CR
Global Const rcT27LF         = 0     ' T27 linefeed is LF
Global Const rcT27CR_LF      = 1     ' T27 linefeed is CRLF
Global Const rcT27DC2TogglesForms = 0 ' T27 DC2 toggles forms
Global Const rcT27DC2AdvDCP  = 1     ' T27 DC2 advances DCP
Global Const rcT27ReturnFormsExits = 0 ' T27 return key in forms exits field
Global Const rcT27ReturnFormsNextLine = 1 ' T27 return key in forms goes to next line
Global Const rcLegacyCommNever = 0   ' Never allow the use of thunking comm protocols
Global Const rcLegacyCommAsNeeded = 1 ' Use thunking comm protocols if necessary
Global Const rcLegacyCommOnly = 2    ' Only use thunking protocols (for troubleshooting)
Global Const rcAnyTerminalKey = 0    ' Any terminal keystroke satisfies event
Global Const rcSilently      = 1     ' Suppress recording toolbar
Global Const rcWithPrompts   = 2     ' Ask about how to record each prompt
Global Const rcMacro         = 1     ' Destination for StopRecordingMacro
Global Const rcClipboard     = 2     ' Destination for StopRecordingMacro
Global Const rcDiscard       = -1    ' Destination for StopRecordingMacro
Global Const rcAutoFontSizing = 0    ' Adjust the font size when resizing the terminal
Global Const rcChangeTerminalSize = 1 ' Change number of rows and column when resizing
Global Const rcKeepSize      = 2     ' Keep font and terminal dimensions when resizing
Global Const rcAllowSleepNo  = 0     ' Don't allow system to sleep when a connection is active
Global Const rcAllowSleepYes = -1    ' Allow system to sleep when a connection is active
Global Const rcAllowSleepAskUser = 2 ' Ask user to allow system to sleep when a connection is active
Global Const rcReleaseProduction = 0 ' Production Release Type
Global Const rcReleaseDevelopment = 1 ' Development Release Type
Global Const rcReleasePrototype = 2  ' Prototype Release Type
Global Const rcReleaseAlpha  = 3     ' Alpha Release Type
Global Const rcReleaseBeta   = 4     ' Beta Release Type
Global Const rcReleaseEvaluation = 5 ' Evaluation Release Type
Global Const rcStartScreen   = 19    ' Enable/Disable picture at startup
Global Const rcEnglishLanguage = 0   ' English language
Global Const rcFrenchLanguage = 1    ' French language
Global Const rcGermanLanguage = 2    ' German language
Global Const rcJapaneseLanguage = 5  ' Japanese language
Global Const rcOverrideOff   = -1    ' Do not override language
Global Const rcVBALocal      = 22    ' Enable/disable user-initiated VBA commands
Global Const rcVBA           = 21    ' Enable/disable VBA commands
Global Const rcEnumerations  = 1024  ' Include property enumerations
Global Const rcBsDel         = 0     ' IBM 3151 Backspace sends BS/DEL
Global Const rcDelBs         = 1     ' IBM 3151 Backspace sends DEL/BS
Global Const rcDelCan        = 2     ' IBM 3151 Backspace sends DEL/CAN
Global Const rcBsBs          = 3     ' IBM 3151 Backspace sends BS/BS
Global Const rcModeToggle    = 0     ' IBM insert character key toggles insert mode
Global Const rcInsertSpace   = 1     ' IBM insert character key inserts a space
Global Const rcIBMSendKeyPage = 0    ' IBM send key sends page
Global Const rcIBMSendKeyLine = 1    ' IBM send key sends line
Global Const rcIBMReturnKeyNewline = 0 ' IBM return key is newline
Global Const rcIBMReturnKeyField = 1 ' IBM return key is field
Global Const rcIBMEnterKeyReturn = 0 ' IBM enter key is return key
Global Const rcIBMEnterKeySend = 1   ' IBM enter key is send key
Global Const rcIBMTabKeyColumn = 0   ' IBM tab key moves to column
Global Const rcIBMTabKeyField = 1    ' IBM tab key moves to field
Global Const rcIBMLTAETX     = 0     ' IBM 3151 turnaround char is ETX
Global Const rcIBMLTACR      = 1     ' IBM 3151 turnaround char is CR
Global Const rcIBMLTAEOT     = 2     ' IBM 3151 turnaround char is EOT
Global Const rcIBMLTADC3     = 3     ' IBM 3151 turnaround char is DC3
Global Const rcIBMCR         = 0     ' IBM received CR is a CR
Global Const rcIBMCRLF       = 1     ' IBM received CR is a CRLF
Global Const rcIBMLF         = 0     ' IBM received LF is a LF
Global Const rcIBMLFCR       = 1     ' IBM received LF is a LFCR
Global Const rcLayout        = 46    ' Reflection layout
Global Const rcRwebSettingsFile = 45 ' Reflection for the Web config
Global Const rcXMLSettingsFile = 44  ' Reflection XML Settings
Global Const rcClearNever    = 1     ' Never clear FTP connection information
Global Const rcClearOnDisconnect = 2 ' Clear FTP connection information on disconnect
Global Const rcClearOnHostNameChange = 3 ' Clear FTP connection information when host name changes
Global Const rcClearAlways   = 4     ' Always clear FTP connection information
Global Const rcIBMPLCR       = 0     ' Print line terminator is CR
Global Const rcIBMPLCRLF     = 1     ' IBM print line terminator is CRLF
Global Const rcIBMPPNONE     = 0     ' IBM print page terminator is none.
Global Const rcIBMPPFF       = 1     ' IBM print page terminator is FF
Global Const rcIBMPrNational = 0     ' IBM print 7-bit characters only
Global Const rcIBMPrAll      = 1     ' IBM print all characters.
Global Const rcIBMPrCharOnly = 2     ' IBM print all characters without attribute info
Global Const rcBmpNone       = 0     ' None
Global Const rcBmpNew        = 150   ' New
Global Const rcBmpOpen       = 163   ' Open
Global Const rcBmpSave       = 207   ' Save
Global Const rcBmpPrint      = 182   ' Print
Global Const rcBmpCopy       = 48    ' Copy
Global Const rcBmpPaste      = 168   ' Paste
Global Const rcBmpLearn      = 124   ' Learn
Global Const rcBmpRecord     = 192   ' Record
Global Const rcBmpHelpPointer = 105  ' Help Pointer
Global Const rcBmpQuestionMark = 189 ' Question Mark
Global Const rcBmpConnect    = 45    ' Connect
Global Const rcBmpDisconnect = 69    ' Disconnect
Global Const rcBmpStartTrace = 234   ' Start Trace
Global Const rcBmpStopTrace  = 241   ' Stop Trace
Global Const rcBmpBreak      = 21    ' Break
Global Const rcBmpButton     = 23    ' Button
Global Const rcBmpClearAll   = 31    ' Clear All
Global Const rcBmpClearDisplay = 32  ' Clear Display
Global Const rcBmpClearSelection = 34 ' Clear Selection
Global Const rcBmpClearType  = 35    ' Clear Type
Global Const rcBmpCommandLIne = 41   ' Command Line
Global Const rcBmpCommandWindow = 42 ' Command Window
Global Const rcBmpColor1     = 38    ' Color One
Global Const rcBmpColor2     = 39    ' Color Two
Global Const rcBmpConnectionDirectory = 47 ' Connection Directory
Global Const rcBmpConnectionSetup = 46 ' Connection Setup
Global Const rcBmpCopyTable  = 51    ' Copy Table
Global Const rcBmpClosePrinter = 37  ' Close Printer
Global Const rcBmpDDESetup   = 61    ' DDE Setup
Global Const rcBmpDeleteLine = 65    ' Delete Line
Global Const rcBmpRestoreDefaults = 203 ' Restore Defaults
Global Const rcBmpDisplaySetup = 72  ' Display Setup
Global Const rcBmpEditScript = 76    ' EditScript
Global Const rcBmpEnter      = 78    ' Enter
Global Const rcBmpExit       = 82    ' Exit
Global Const rcBmpFonts      = 89    ' Fonts
Global Const rcBmpGeneralSetup = 91  ' General Setup
Global Const rcBmpGraphicsSetup = 95 ' Graphics Setup
Global Const rcBmpHideToolbar = 107  ' Hide Toolbar
Global Const rcBmpHelpContents = 103 ' Help Contents
Global Const rcBmpHelpSearch = 106   ' Help Search
Global Const rcBmpHardReset  = 102   ' Hard Reset
Global Const rcBmpKeyboardMapSetup = 120 ' Keyboard Map Setup
Global Const rcBmpKeyboardSetup = 121 ' Keyboard Setup
Global Const rcBmpLogging    = 134   ' Logging
Global Const rcBmpLog        = 133   ' Log
Global Const rcBmpNextWindow = 151   ' Next Window
Global Const rcBmpPause      = 171   ' Pause
Global Const rcBmpPhoneDirectory = 176 ' Phone Directory
Global Const rcBmpPhone      = 174   ' Phone
Global Const rcBmpPreferencesSetup = 180 ' Preferences Setup
Global Const rcBmpPreviousWindow = 181 ' Previous Window
Global Const rcBmpRepeatLastMacro = 199 ' Repeat Last Macro
Global Const rcBmpRunner     = 205   ' Runner
Global Const rcBmpRunScript  = 206   ' Run Script
Global Const rcBmpRepeatUserKey = 200 ' Repeat User Key
Global Const rcBmpSaveDisplay = 209  ' Save Display
Global Const rcBmpSaveAs     = 208   ' Save As
Global Const rcBmpDeviceControl = 298 ' Device Control
Global Const rcBmpDeviceModes = 299  ' Device Modes
Global Const rcBmpSelectAll  = 219   ' Select All
Global Const rcBmpSend       = 220   ' Send
Global Const rcBmpShowKeyboard = 230 ' Show Keyboard
Global Const rcBmpSendInfo   = 222   ' Send Info
Global Const rcBmpSendModKey = 225   ' Send Modes Key
Global Const rcBmpSendReset  = 226   ' Send Reset
Global Const rcBmpStatisticsSetup = 235 ' Statistics Setup
Global Const rcBmpStopScript = 240   ' Stop Script
Global Const rcBmpStop       = 236   ' Stop
Global Const rcBmpSendUserKey = 227  ' Send User Key
Global Const rcBmpTabs       = 243   ' Tabs
Global Const rcBmpToolbarSetup = 249 ' Toolbar Setup
Global Const rcBmpTerminalSetup = 245 ' Terminal Setup
Global Const rcBmpProcessTrace = 300 ' Process Trace
Global Const rcBmpUserKeys   = 263   ' User Keys
Global Const rcBmpWindow1    = 268   ' Window1
Global Const rcBmpWindow2    = 269   ' Window2
Global Const rcBmpWindow3    = 270   ' Window3
Global Const rcBmpWindow4    = 271   ' Window4
Global Const rcBmpWindow5    = 272   ' Window5
Global Const rcBmpWindow6    = 273   ' Window6
Global Const rcBmpWindow7    = 274   ' Window7
Global Const rcBmpWindow8    = 275   ' Window8
Global Const rcBmpTransferSetup = 258 ' Transfer Setup
Global Const rcBmpRecord2    = 193   ' Record2
Global Const rcBmpSendMail   = 223   ' Send Mail
Global Const rcBmpShrink     = 231   ' Shrink
Global Const rcBmpNormal     = 152   ' Normal
Global Const rcBmpGrow       = 97    ' Grow
Global Const rcBmpCancel     = 24    ' Cancel
Global Const rcBmpHelpFunction = 104 ' Help Function
Global Const rcBmpMarginTab  = 139   ' Margins and Tabs
Global Const rcBmpPrintSetup = 186   ' Print Setup
Global Const rcBmpCompose    = 43    ' Compose
Global Const rcBmpViewSettngs = 266  ' View Settings
Global Const rcBmpDisplayOptions = 71 ' Display Options
Global Const rcBmpMouseMapSetup = 144 ' Mouse Map Setup
Global Const rcBmpPageSetup  = 167   ' Page Setup
Global Const rcBmpHotspotSetup = 110 ' Hotspot Setup
Global Const rcBmpMenuSetup  = 140   ' Menu Setup
Global Const rcBmpRecord3    = 194   ' Record3
Global Const rcBmpXCopy      = 280   ' XCopy
Global Const rcBmpXDirectory = 281   ' XDirectory
Global Const rcBmpXDisk      = 282   ' XDisk
Global Const rcBmpXEnvelope  = 283   ' XEnvelope
Global Const rcBmpXGreenPhone = 284  ' XGreenPhone
Global Const rcBmpXHandDown  = 285   ' XHandDown
Global Const rcBmpXHandUp    = 286   ' XHandUp
Global Const rcBmpXHome      = 287   ' XHome
Global Const rcBmpXMailSetup = 288   ' XMailSetup
Global Const rcBmpXOpen      = 289   ' XOpen
Global Const rcBmpXPaste     = 290   ' XPaste
Global Const rcBmpXPrint     = 291   ' XPrint
Global Const rcBmpXQuestion  = 292   ' XQuestion
Global Const rcBmpXRun       = 293   ' XRun
Global Const rcBmpXSetup     = 294   ' XSetup
Global Const rcBmpXTransfer  = 295   ' XTransfer
Global Const rcBmpXTransfer1 = 296   ' XTransfer1
Global Const rcBmpArrow1Down = 3     ' Arrow1 Down
Global Const rcBmpArrow1Left = 4     ' Arrow1 Left
Global Const rcBmpArrow1Right = 5    ' Arrow1 Right
Global Const rcBmpArrow1Up   = 6     ' Arrow1 Up
Global Const rcBmpArrow2Down = 7     ' Arrow2 Down
Global Const rcBmpArrow2Left = 8     ' Arrow2 Left
Global Const rcBmpArrow2Right = 9    ' Arrow2 Right
Global Const rcBmpArrow2Up   = 10    ' Arrow2 Up
Global Const rcBmpBeetle     = 12    ' Beetle
Global Const rcBmpBlock      = 15    ' Block
Global Const rcBmpBold       = 16    ' Bold
Global Const rcBmpBomb       = 17    ' Bomb
Global Const rcBmpBook       = 18    ' Book
Global Const rcBmpBooks      = 20    ' Books
Global Const rcBmpBook2      = 19    ' Book2
Global Const rcBmpBreak2     = 22    ' Break2
Global Const rcBmpCappicino  = 25    ' Cappicino
Global Const rcBmpCassette   = 26    ' Cassette
Global Const rcBmpCassette2  = 27    ' Cassette2
Global Const rcBmpCenter     = 28    ' Center
Global Const rcBmpBarChart   = 11    ' Bar Chart
Global Const rcBmpLineChart  = 129   ' Line Chart
Global Const rcBmpPolygonChart = 179 ' Polygon Chart
Global Const rcBmpCheckMark  = 29    ' Check Mark
Global Const rcBmpCircleBar  = 30    ' Circle Bar
Global Const rcBmpClearScreen = 33   ' Clear Screen
Global Const rcBmpClock      = 36    ' Clock
Global Const rcBmpColumn     = 40    ' Column
Global Const rcBmpCopyFiles  = 49    ' Copy Files
Global Const rcBmpCow        = 52    ' Cow
Global Const rcBmpCPrompt    = 53    ' CPrompt
Global Const rcBmpCrayon     = 54    ' Crayon
Global Const rcBmpCup        = 55    ' Cup
Global Const rcBmpCurtain2   = 57    ' Curtain2
Global Const rcBmpCurtain    = 56    ' Curtain
Global Const rcBmpDate       = 59    ' Date
Global Const rcBmpDeleteChange = 62  ' DeleteChange
Global Const rcBmpDeleteEndOfLine = 63 ' DeleteEndOfLine
Global Const rcBmpDeleteEndOfParagraph = 64 ' DeleteEndOfParagraph
Global Const rcBmpDeleteWord = 66    ' DeleteWord
Global Const rcBmpDirectory  = 68    ' Directory
Global Const rcBmpDistributionList = 301 ' DistributionList
Global Const rcBmpDollar     = 73    ' Dollar
Global Const rcBmpEmboss     = 77    ' Emboss
Global Const rcBmpEnvelopeBack = 80  ' EnvelopeBack
Global Const rcBmpBigEnvelope = 13   ' BigEnvelope
Global Const rcBmpFastEnvelope = 83  ' FastEnvelope
Global Const rcBmpEnvelope   = 79    ' Envelope
Global Const rcBmpFax        = 84    ' Fax
Global Const rcBmpFile       = 85    ' File
Global Const rcBmpFlushRight = 86    ' FlushRight
Global Const rcBmpFolder     = 87    ' Folder
Global Const rcBmpBlackPhone = 14    ' BlackPhone
Global Const rcBmpPhone2     = 175   ' Phone2
Global Const rcBmpPhone3     = 302   ' Phone3
Global Const rcBmpFont       = 88    ' Font
Global Const rcBmpFootPrint  = 90    ' FootPrint
Global Const rcBmpGiraffe    = 92    ' Giraffe
Global Const rcBmpGlobe      = 93    ' Globe
Global Const rcBmpGranite    = 94    ' Granite
Global Const rcBmpHandDown   = 99    ' Hand Down
Global Const rcBmpHandPencil = 100   ' HandPencil
Global Const rcBmpHandUp     = 101   ' Hand Up
Global Const rcBmpHand       = 98    ' Hand
Global Const rcBmpHome       = 108   ' Home
Global Const rcBmpHyphen2    = 112   ' Hyphen2
Global Const rcBmpHyphen     = 111   ' Hyphen
Global Const rcBmpDCD        = 60    ' DCD
Global Const rcBmpDSR        = 74    ' DSR
Global Const rcBmpIndentRight = 114  ' IndentRight
Global Const rcBmpIndent     = 113   ' Indent
Global Const rcBmpDTS        = 75    ' DTS
Global Const rcBmpInsertGraphics = 116 ' InsertGraphics
Global Const rcBmpItalic     = 118   ' Italic
Global Const rcBmpKeyboard   = 119   ' Keyboard
Global Const rcBmpLadyBug    = 122   ' LadyBug
Global Const rcBmpLarge      = 123   ' Large
Global Const rcBmpLetter     = 125   ' Letter
Global Const rcBmpLetter2    = 125   ' Letter2
Global Const rcBmpLight      = 127   ' Light
Global Const rcBmpLiveLock   = 131   ' Live Lock
Global Const rcBmpLock       = 132   ' Lock
Global Const rcBmpMailSlot   = 137   ' MailS lot
Global Const rcBmpMargin     = 138   ' Margin
Global Const rcBmpMailboxDown = 135  ' Mailbox Down
Global Const rcBmpMailboxUp  = 136   ' Mailbox Up
Global Const rcBmpMerge      = 141   ' Merge
Global Const rcBmpMoneyBag   = 143   ' Money Bag
Global Const rcBmpMove2      = 146   ' Move2
Global Const rcBmpMoveEndOfLine = 147 ' Move End Of Line
Global Const rcBmpMove       = 145   ' Move
Global Const rcBmpMrYuk      = 148   ' MrYuk
Global Const rcBmpMutant     = 149   ' Mutant
Global Const rcBmpNumber0    = 153   ' Number0
Global Const rcBmpNumber1    = 154   ' Number1
Global Const rcBmpNumber2    = 155   ' Number2
Global Const rcBmpNumber3    = 156   ' Number3
Global Const rcBmpNumber4    = 157   ' Number4
Global Const rcBmpNumber5    = 158   ' Number5
Global Const rcBmpNumber6    = 159   ' Number6
Global Const rcBmpNumber7    = 160   ' Number7
Global Const rcBmpNumber8    = 161   ' Number8
Global Const rcBmpNumber9    = 162   ' Number9
Global Const rcBmpPeace      = 172   ' Peace
Global Const rcBmpPencil     = 173   ' Pencil
Global Const rcBmpPageBreak  = 164   ' PageBreak
Global Const rcBmpPageNext   = 165   ' PageNext
Global Const rcBmpPagePrevious = 166 ' PagePrevious
Global Const rcBmpPrinter    = 183   ' Printer
Global Const rcBmpPrinterA   = 184   ' PrinterA
Global Const rcBmpPrinterAA  = 185   ' PrinterAA
Global Const rcBmpPrintWide  = 187   ' Print Wide
Global Const rcBmpQuestion   = 188   ' Question
Global Const rcBmpReadFile   = 190   ' Read File
Global Const rcBmpReadHeader = 191   ' Read Header
Global Const rcBmpLightReading = 128 ' Light Reading
Global Const rcBmpRecord4    = 303   ' Record4
Global Const rcBmpRedX       = 196   ' RedX
Global Const rcBmpRepeat2    = 198   ' Repeat2
Global Const rcBmpRepeat     = 197   ' Repeat
Global Const rcBmpReplace    = 201   ' Replace
Global Const rcBmpReset      = 202   ' Reset
Global Const rcBmpRun        = 304   ' Run
Global Const rcBmpSaveFile   = 210   ' Save File
Global Const rcBmpSaveHeader = 211   ' SaveHeader
Global Const rcBmpScissors2  = 305   ' Scissors2
Global Const rcBmpScissors   = 212   ' Scissors
Global Const rcBmpScreen     = 213   ' Screen
Global Const rcBmpScreenDown = 214   ' ScreenDown
Global Const rcBmpScreenUp   = 215   ' ScreenUp
Global Const rcBmpSearchUp   = 217   ' SearchUp
Global Const rcBmpSearchDown = 216   ' SearchDown
Global Const rcBmpSelect     = 218   ' Select
Global Const rcBmpSetup      = 228   ' Setup
Global Const rcBmpShell      = 229   ' Shell
Global Const rcBmpSwitch     = 242   ' Switch
Global Const rcBmpTestPattern = 246  ' TestPattern
Global Const rcBmpTextIn     = 247   ' TextIn
Global Const rcBmpTiger      = 248   ' Tiger
Global Const rcBmpTransmit   = 259   ' Transmit
Global Const rcBmpTrashFile  = 261   ' TrashFile
Global Const rcBmpTrash      = 260   ' Trash
Global Const rcBmpUnder      = 262   ' Under
Global Const rcBmpWatch      = 267   ' Watch
Global Const rcBmpWordLeft   = 276   ' WordLeft
Global Const rcBmpWordRight  = 277   ' WordRight
Global Const rcBmpWRQ        = 278   ' WRQ
Global Const rcBmpTransfer1  = 256   ' Transfer1
Global Const rcBmpTransfer2  = 257   ' Transfer2
Global Const rcBmpZebra      = 297   ' Zebra
Global Const rcBmpComputerIn = 44    ' ComputerIn
Global Const rcBmpDisplayFunction = 70 ' Display Function
Global Const rcBmpInfoGaze   = 115   ' Info Gaze
Global Const rcBmpListNext   = 130   ' List Next
Global Const rcBmpModem2     = 142   ' Modem2
Global Const rcBmpPhoneWWW   = 177   ' Phone WWW
Global Const rcBmpStartNet   = 232   ' Start Net
Global Const rcBmpStopNet    = 238   ' Stop Net
Global Const rcBmpTechSupport = 244  ' Tech Support
Global Const rcBmpToolBox    = 250   ' Tool Box
Global Const rcBmpToolCelar  = 251   ' Tool Clear
Global Const rcBmpToolFinish = 252   ' Tool Finish
Global Const rcBmpToolHelp   = 253   ' Tool Help
Global Const rcBmpToolStar   = 255   ' Tool Star
Global Const rcBmpWRQBook    = 279   ' WRQ Book
Global Const rcBmpExportMacro = 307  ' Export Macro
Global Const rcBmpPauseRecordingMacro = 312 ' Pause Recording Macro
Global Const rcBmpStartRecordMacro = 233 ' Start Record Macro
Global Const rcBmpAddReference = 1   ' Add Reference
Global Const rcBmpRunMacro   = 204   ' Run Macro
Global Const rcBmpStopMacro  = 237   ' Stop Macro
Global Const rcBmpStopRecordMacro = 239 ' Stop Record Macro
Global Const rcBmpVBEditor   = 265   ' VB Editor
Global Const rcBmpEventSetup = 81    ' Event Setup
Global Const rcBmpHelpAbout  = 311   ' Help About
Global Const rcBmpPromptRecord = 310 ' Prompt Record
Global Const rcBmpT27LocalMode = 313 ' T27 Local Mode
Global Const rcBmpT27ReceiveMode = 314 ' T27 Receive Mode
Global Const rcBmpT27SpecifyKey = 315 ' T27 Specify Key
Global Const rcBmpT27Transmit = 316  ' T27 Transmit
Global Const rcBmpT27LineTransmit = 317 ' T27 Line Transmit
Global Const rcBmpEditFind   = 318   ' Edit Find
Global Const rcBmpEditFindNext = 318 ' Edit Find Next
Global Const rcBmpAnnotate   = 308   ' Annotate
Global Const rcBmpFullScreen = 309   ' Full Screen
Global Const rcTVIFkeySetOne = 0     ' TVI Function Key Set is One
Global Const rcTVIFkeySetTwo = 1     ' TVI Function Key Set is Two
Global Const rcTVIDownKeyCtrlV = 0   ' TVI down key sends ctrl-V
Global Const rcTVIDownKeyCtrlJ = 1   ' TVI down key sends ctrl-J
Global Const rcTVIPage       = 0     ' TVI attribute base is page.
Global Const rcTVILine       = 1     ' TVI attribute base is line.
Global Const rcTVIComp950    = 0     ' TVI compatibility is TVI 950
Global Const rcTVIComp955    = 1     ' TVI compatibility is TVI 955
Global Const rcTAPI2         = 0     ' Use TAPI version 2
Global Const rcTAPI3         = 1     ' Use TAPI version 3
Global Const rcTVIStatusNormal = 0   ' TVI status line has normal attribute
Global Const rcTVIStatusInverse = 1  ' TVI status line attribute is inverse
Global Const rcTVIStatusUnderline = 2 ' TVI status line attribute is underline.
Global Const rcTVIStatusInverseUnderline = 3 ' TVI status line attribute is inverse underline.
Global Const rcTVINone       = 0     ' TVI status line is none.
Global Const rcTVIStatus     = 1     ' TVI status line is status.
Global Const rcTVIUser1      = 2     ' TVI status line is user message one.
Global Const rcTVIUser2      = 3     ' TVI status line is user message two.

' ==============================
' = ErrorValues
' ==============================
Global Const rcErrReadOnlyProperty = 10000 ' Attempting to set the value of a read-only property
Global Const rcErrInvalidBuiltInFunction = 10001 ' Unrecognized or invalid built-in function
Global Const rcErrInvalidRCLExpression = 10002 ' Specified string is not a valid RCL expression
Global Const rcErrInvalidRCLCommand = 10003 ' Specified string is not a valid RCL command
Global Const rcErrInvalidTerminator = 10004 ' Invalid or empty string specified for read terminator
Global Const rcErrTimeout    = 10005 ' Method timed out
Global Const rcErrExpectOneDArray = 10006 ' Method requires a one-dimensional array
Global Const rcErrExpectStringArray = 10007 ' Method requires a string array
Global Const rcErrEmptyWaitForArray = 10008 ' At least one wait for string must be specified
Global Const rcErrOperationFailed = 10009 ' The Reflection API call failed
Global Const rcErrAbortedByUser = 10010 ' Operation cancelled by user
Global Const rcErrPutPropertyFailed = 10011 ' Property put failed
Global Const rcErrNotImplemented = 4080 ' Method or property is not implemented
Global Const rcErrInvalidPropertyValue = 10012 ' Property value is invalid or out of range
Global Const rcErrInvalidArgument = 10013 ' One or more arguments is invalid or out of range
Global Const rcErrTypeMismatch = 10014 ' One or more arguments is of the wrong type
Global Const rcErrBadTimeArgument = 10015 ' Invalid time argument
Global Const rcErrBadDateArgument = 10016 ' Invalid date argument
Global Const rcErrAlreadyInServerMode = 10017 ' Host file transfer program is already running in server mode
Global Const rcErrInvalidTransferType = 10018 ' Invalid transfer type
Global Const rcErrInvalidIfFileExists = 10019 ' Invalid if-file-exists option
Global Const rcErrMissingHostFilename = 10020 ' Host file name must be specified
Global Const rcErrMissingLocalFilename = 10021 ' Local file name must be specified
Global Const rcErrOneXferAtATime = 10022 ' Only one file transfer is allowed at a time
Global Const rcErrNotConnected = 10023 ' A connection is required to execute this method
Global Const rcErrProfileLocked = 10024 ' Command profile is already locked
Global Const rcErrNeedLockPassword = 10025 ' Password is required to lock the command profile
Global Const rcErrNeedUnlockPassword = 10026 ' Password is required to unlock the command profile
Global Const rcErrCantUnlockProfile = 10027 ' Command profile is permanently locked and cannot be unlocked
Global Const rcErrTransferProtocol = 10028 ' Transfer protocol error
Global Const rcErrTransferFailed = 10029 ' File transfer failed
Global Const rcErrTransferComFailed = 10030 ' Communications error during transfer
Global Const rcErrTransferTraceFailed = 10031 ' Tracing error during transfer
Global Const rcErrNoHostResponse = 10032 ' No response from host transfer program
Global Const rcErrHostTransferError = 10033 ' Transfer error occurred on host
Global Const rcErrNoUpdateTransfer = 10034 ' No update transfer
Global Const rcErrTransferLinkFailed = 10035 ' Communications error during transfer - unable to communicate with host
Global Const rcErrCantStartTransfer = 10036 ' Unable to start file transfer
Global Const rcErrIncompatibleHost = 10037 ' Incompatible host transfer program
Global Const rcErrInvalidTerminalKey = 10038 ' Invalid terminal key constant
Global Const rcErrLocalFileExists = 10039 ' Local file already exists
Global Const rcErrLocalFileDoesNotExist = 10040 ' Local file does not exist
Global Const rcErrCantReadFromFile = 10041 ' Can't read from local file
Global Const rcErrCantWriteToFile = 10042 ' Can't write to local file
Global Const rcErrCantOpenLocalFile = 10043 ' Can't open local file for reading
Global Const rcErrCantCreateLocalFile = 10044 ' Can't create local file
Global Const rcErrAccessDenied = 10045 ' Access to file denied
Global Const rcErrOutOfDiskSpace = 10046 ' Out of disk space
Global Const rcErrInvalidTraceType = 10047 ' Invalid trace type
Global Const rcErrCommandDisabled = 10048 ' Command has been disabled
Global Const rcErrAlreadyTracing = 10049 ' Trace is already enabled
Global Const rcErrInvalidTarget = 10050 ' Invalid target script language
Global Const rcErrFastTransferFailed = 10051 ' Fast file transfer failed
Global Const rcErrInvalidKeyModifiers = 10052 ' Invalid key modifier(s)
Global Const rcErrInvalidKeyName = 10053 ' Invalid key name
Global Const rcErrInvalidCommandType = 10054 ' Invalid command type
Global Const rcErrKeyReserved = 10055 ' Key is reserved and cannot be remapped
Global Const rcErrInvalidScanType = 10056 ' Invalid scan code type
Global Const rcErrInvalidScanCode = 10057 ' Invalid scan code value
Global Const rcErrInvalidScanName = 10058 ' Invalid scan code name
Global Const rcErrInvalidSessionType = 4220 ' Invalid session type
Global Const rcErrProductNotFound = 10059 ' Could not find specified product
Global Const rcErrDDEStringTooLong = 10060 ' DDE command or value string is too long
Global Const rcErrDDENoResponse = 10061 ' No DDE servers responded
Global Const rcErrDDEInvalidID = 10062 ' Invalid DDE conversation ID
Global Const rcErrDDEConvLimit = 10063 ' Maximum number of DDE conversations established
Global Const rcErrDDEServerTimeout = 10064 ' DDE server timed out
Global Const rcErrDDEServerBusy = 10065 ' DDE server busy
Global Const rcErrAlreadyConnected = 10066 ' A connection is currently active
Global Const rcErrConnectionError = 10067 ' General connection error
Global Const rcErrStringTooLarge = 10068 ' Method cannot return more than 64k of data
Global Const rcErrReflectionBusy = 10069 ' Reflection is busy
Global Const rcErrCantWriteConnectionDir = 10070 ' Cannot write to Connection Directory
Global Const rcErrCantFindConnectionDir = 10071 ' Connection Directory could not be found or does not exist
Global Const rcErrInvalidConnectionValue = 10072 ' Invalid connection setting value
Global Const rcErrInvalidConnectionKeyword = 10073 ' Invalid connection setting keyword
Global Const rcErrConnectionValueReadOnly = 10074 ' Connection setting cannot be changed
Global Const rcErrConnectionTypeReadOnly = 10075 ' Connection type cannot be changed
Global Const rcErrNoSelection = 10076 ' No selection exists
Global Const rcErrNothingFound = 10077 ' No text found
Global Const rcErrInvalidKeywordForType = 10078 ' Connection setting keyword is invalid for this connection type
Global Const rcErrDisconnectedDuringWait = 10079 ' Disconnected from host while reading or waiting for text
Global Const rcErrNeedNativeHost = 10080 ' A Native Mode version of the host file transfer program is required
Global Const rcErrNeedNewerHost = 10081 ' A newer version of the host file transfer program is required
Global Const rcErrCommandNotValidInAnsiMode = 10083 ' Command is not valid in ANSI mode
Global Const rcErrCommandOnlyValidInAnsiMode = 10084 ' Command is only valid in ANSI mode
Global Const rcErrCantOpenInternetSession = 10085 ' Unable to open internet session
Global Const rcErrCantConnectToFTPHost = 10086 ' Unable to connect to FTP host
Global Const rcErrCantLogInToFTPHost = 10087 ' Unable to log in to FTP host
Global Const rcErrHostFileDoesntExist = 10088 ' File does not exist on FTP host
Global Const rcErrCantOpenFileOnHost = 10090 ' Unable open file on FTP server
Global Const rcErrFTPLogInCancelled = 10089 ' FTP log in cancelled
Global Const rcErrCantUpdateFile = 10091 ' File could not be updated
Global Const rcErrHostFileExists = 10092 ' Host file already exists
Global Const rcErrMethodNotValid = 10093 ' Method is not valid for connection type
Global Const rcErrNotInFTPServerMode = 10094 ' File transfer needs to be running in FTP server mode
Global Const rcErrInvalidEventNumber = 4665 ' The specified event number is not valid
Global Const rcErrAPIInvalidEvent = 4142 ' The specified event number is not valid
Global Const rcErrMaxEventsDefined = 4667 ' The maximum number of events have already been defined
Global Const rcErrMacroNoExist = 10095 ' The specified macro does not exist
Global Const rcErrUnavailableWhenControl = 10096 ' This function not available when running Reflection as an ActiveX control
Global Const rcErrUnavailableWhenEmbedded = 10097 ' This function not available when running Reflection as a document object
Global Const rcErrCannotLoadLibrary = 10098 ' Returned by connect command
Global Const rcErrDirectoryDoesNotExist = 10099 ' Directory does not exist
Global Const rcErrInvalidMacroName = 10100 ' Macro name is invalid
Global Const rcErrShellExecuteDenied = 10101 ' ShellExecute disabled by system administrator
Global Const rcRegistryUpdateFailed = 10102 ' Registry could not be updated
Global Const rcLibraryInstallFailed = 10103 ' Library could not be installed
Global Const rcFoldersDeniedByPolicy = 21177 ' Access to the folder has been denied by your administrator

' ==============================
' = ControlCodes
' ==============================
Global Const rcNUL           = 0     ' NULL
Global Const rcSOH           = 1     ' Start of header
Global Const rcSTX           = 2     ' Start of text
Global Const rcETX           = 3     ' End of text
Global Const rcEOT           = 4     ' End of transmission
Global Const rcENQ           = 5     ' Enquiry
Global Const rcACK           = 6     ' Acknowledge
Global Const rcBEL           = 7     ' Bell
Global Const rcBS            = 8     ' Backspace
Global Const rcHT            = 9     ' Horizontal tab
Global Const rcLF            = 10    ' Linefeed
Global Const rcVT            = 11    ' Vertical tab
Global Const rcFF            = 12    ' Form feed
Global Const rcCR            = 13    ' Carriage return
Global Const rcSO            = 14    ' Shift out
Global Const rcSI            = 15    ' Shift in
Global Const rcDLE           = 16    ' Data link escape
Global Const rcDC1           = 17    ' Device control 1 (XON)
Global Const rcDC2           = 18    ' Device control 2
Global Const rcDC3           = 19    ' Device control 3 (XOFF)
Global Const rcDC4           = 20    ' Device control 4
Global Const rcNAK           = 21    ' Negative acknowledge
Global Const rcSYN           = 22    ' Synchronous idle
Global Const rcETB           = 23    ' End of transmission block
Global Const rcCAN           = 24    ' Cancel
Global Const rcEM            = 25    ' End of medium
Global Const rcSUB           = 26    ' Substitute
Global Const rcESC           = 27    ' Escape
Global Const rcFS            = 28    ' Field separator
Global Const rcGS            = 29    ' Group separator
Global Const rcRS            = 30    ' Record separator
Global Const rcUS            = 31    ' Unit separator
Global Const rcDEL           = 127   ' Delete
Global Const rcIND           = 132   ' Index
Global Const rcNEL           = 133   ' Next Line
Global Const rcSSA           = 134   ' Start selected area
Global Const rcESA           = 135   ' End selected area
Global Const rcHTS           = 136   ' Horizontal tab set
Global Const rcHTJ           = 137   ' Horizontal tab with justification
Global Const rcVTS           = 138   ' Vertical tab set
Global Const rcPLD           = 139   ' Partial line down
Global Const rcPLU           = 140   ' Partial line up
Global Const rcRI            = 141   ' Reverse index
Global Const rcSS2           = 142   ' Single shift 2
Global Const rcSS3           = 143   ' Single shift 3
Global Const rcDCS           = 144   ' Device control string
Global Const rcPU1           = 145   ' Private use 1
Global Const rcPU2           = 146   ' Private use 2
Global Const rcSTS           = 147   ' Set transmit state
Global Const rcCCH           = 148   ' Cancel character
Global Const rcMW            = 149   ' Message waiting
Global Const rcSPA           = 150   ' Start protected area
Global Const rcEPA           = 151   ' End protected area
Global Const rcCSI           = 155   ' Control sequence introducer
Global Const rcST            = 156   ' String terminator
Global Const rcOSC           = 157   ' Operating system command
Global Const rcPM            = 158   ' Privacy message
Global Const rcAPC           = 159   ' Application program command

' ==============================
' = TerminalKeys
' ==============================
Global Const rcHpBackSpaceKey = 600  ' BackSpace terminal key (HP emulation)
Global Const rcHpBackTabKey  = 601   ' BackTab terminal key (HP emulation)
Global Const rcHpBlinkVideoKey = 602 ' Blink video terminal key (HP emulation)
Global Const rcHpBreakKey    = 603   ' Break terminal key (HP emulation)
Global Const rcHpClearDisplayKey = 604 ' Clear display terminal key (HP emulation)
Global Const rcHpClearLineKey = 605  ' Clear line terminal key (HP emulation)
Global Const rcHpDefaultF1Key = 606  ' Default F1 terminal key (HP emulation)
Global Const rcHpDefaultF2Key = 607  ' Default F2 terminal key (HP emulation)
Global Const rcHpDefaultF3Key = 608  ' Default F3 terminal key (HP emulation)
Global Const rcHpDefaultF4Key = 609  ' Default F4 terminal key (HP emulation)
Global Const rcHpDefaultF5Key = 610  ' Default F5 terminal key (HP emulation)
Global Const rcHpDefaultF6Key = 611  ' Default F6 terminal key (HP emulation)
Global Const rcHpDefaultF7Key = 612  ' Default F7 terminal key (HP emulation)
Global Const rcHpDefaultF8Key = 613  ' Default F8 terminal key (HP emulation)
Global Const rcHpDefineFieldKeysKey = 614 ' Define field keys terminal key (HP emulation)
Global Const rcHpDeleteKey   = 615   ' Delete terminal key (HP emulation)
Global Const rcHpDeleteCharKey = 616 ' Delete character terminal key (HP emulation)
Global Const rcHpDeleteCharWrapKey = 617 ' Delete character with wrap terminal key (HP emulation)
Global Const rcHpDeleteLineKey = 618 ' Delete line terminal key (HP emulation)
Global Const rcHpDeviceControlKey = 619 ' Device control terminal key (HP emulation)
Global Const rcHpDeviceModesKey = 620 ' Device modes terminal key (HP emulation)
Global Const rcHpDownKey     = 621   ' Cursor down terminal key (HP emulation)
Global Const rcHpEnhanceFieldKeysKey = 622 ' Enhance field keys terminal key (HP emulation)
Global Const rcHpEnterKey    = 623   ' Enter terminal key (HP emulation)
Global Const rcHpEscKey      = 624   ' Escape terminal key (HP emulation)
Global Const rcHpF1Key       = 625   ' F1 terminal key (HP emulation)
Global Const rcHpF2Key       = 626   ' F2 terminal key (HP emulation)
Global Const rcHpF3Key       = 627   ' F3 terminal key (HP emulation)
Global Const rcHpF4Key       = 628   ' F4 terminal key (HP emulation)
Global Const rcHpF5Key       = 629   ' F5 terminal key (HP emulation)
Global Const rcHpF6Key       = 630   ' F6 terminal key (HP emulation)
Global Const rcHpF7Key       = 631   ' F7 terminal key (HP emulation)
Global Const rcHpF8Key       = 632   ' F8 terminal key (HP emulation)
Global Const rcHpHalfBrightVideoKey = 633 ' Half-bright video terminal key (HP emulation)
Global Const rcHpHideFunctionKeysKey = 634 ' Hide function keys terminal key (HP emulation)
Global Const rcHpHomeDownKey = 635   ' Home down terminal key (HP emulation)
Global Const rcHpHomeUpKey   = 636   ' Home up terminal key (HP emulation)
Global Const rcHpInsertCharKey = 637 ' Insert character terminal key (HP emulation)
Global Const rcHpInsertCharWrapKey = 638 ' Insert character with wrap terminal key (HP emulation)
Global Const rcHpInsertLineKey = 639 ' Insert line terminal key (HP emulation)
Global Const rcHpInverseVideoKey = 640 ' Inverse video terminal key (HP emulation)
Global Const rcHpLeftKey     = 641   ' Cursor left terminal key (HP emulation)
Global Const rcHpModesKey    = 642   ' Modes terminal key (HP emulation)
Global Const rcHpMenuKey     = 643   ' Menu terminal key (HP emulation)
Global Const rcHpNextPageKey = 644   ' Next page terminal key (HP emulation)
Global Const rcHpPrevPageKey = 645   ' Previous page terminal key (HP emulation)
Global Const rcHpPrintKey    = 646   ' Print terminal key (HP emulation)
Global Const rcHpRecallUserKeysKey = 647 ' Recall user keys terminal key (HP emulation)
Global Const rcHpReturnKey   = 648   ' Return terminal key (HP emulation)
Global Const rcHpRightKey    = 649   ' Cursor right terminal key (HP emulation)
Global Const rcHpSecurityVideoKey = 650 ' Security video terminal key (HP emulation)
Global Const rcHpSetEnhancementKey = 651 ' Set enhancement terminal key (HP emulation)
Global Const rcHpScrollDownKey = 652 ' Scroll down terminal key (HP emulation)
Global Const rcHpScrollUpKey = 653   ' Scroll up terminal key (HP emulation)
Global Const rcHpSelectKey   = 654   ' Select terminal key (HP emulation)
Global Const rcHpStartUnprotectedKey = 655 ' Start unprotected field terminal key (HP emulation)
Global Const rcHpStartXmitOnlyKey = 656 ' Start transmit-only field terminal key (HP emulation)
Global Const rcHpStopKey     = 657   ' Stop terminal key (HP emulation)
Global Const rcHpStopFieldKey = 658  ' Stop field terminal key (HP emulation)
Global Const rcHpTabKey      = 659   ' Tab terminal key (HP emulation)
Global Const rcHpToggleFormatModeKey = 660 ' Toggle format mode terminal key (HP emulation)
Global Const rcHpUnderlineVideoKey = 661 ' Underline video terminal key (HP emulation)
Global Const rcHpUpKey       = 662   ' Cursor up terminal key (HP emulation)
Global Const rcHpUserKey     = 663   ' User terminal key (HP emulation)
Global Const rcAnsiCenterKey = 700   ' Center terminal key (ANSI emulation)
Global Const rcAnsiCtrlF1Key = 701   ' Control F1 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF2Key = 702   ' Control F2 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF3Key = 703   ' Control F3 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF4Key = 704   ' Control F4 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF5Key = 705   ' Control F5 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF6Key = 706   ' Control F6 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF7Key = 707   ' Control F7 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF8Key = 708   ' Control F8 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF9Key = 709   ' Control F9 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF10Key = 710  ' Control F10 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF11Key = 711  ' Control F11 terminal key (ANSI emulation)
Global Const rcAnsiCtrlF12Key = 712  ' Control F12 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF1Key = 713 ' Control shift F1 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF2Key = 714 ' Control shift F2 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF3Key = 715 ' Control shift F3 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF4Key = 716 ' Control shift F4 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF5Key = 717 ' Control shift F5 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF6Key = 718 ' Control shift F6 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF7Key = 719 ' Control shift F7 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF8Key = 720 ' Control shift F8 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF9Key = 721 ' Control shift F9 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF10Key = 722 ' Control shift F10 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF11Key = 723 ' Control shift F11 terminal key (ANSI emulation)
Global Const rcAnsiCtrlShiftF12Key = 724 ' Control shift F12 terminal key (ANSI emulation)
Global Const rcAnsiDeleteKey = 725   ' Delete terminal key (ANSI emulation)
Global Const rcAnsiEndKey    = 726   ' End terminal key (ANSI emulation)
Global Const rcAnsiF1Key     = 727   ' F1 terminal key (ANSI emulation)
Global Const rcAnsiF2Key     = 728   ' F2 terminal key (ANSI emulation)
Global Const rcAnsiF3Key     = 729   ' F3 terminal key (ANSI emulation)
Global Const rcAnsiF4Key     = 730   ' F4 terminal key (ANSI emulation)
Global Const rcAnsiF5Key     = 731   ' F5 terminal key (ANSI emulation)
Global Const rcAnsiF6Key     = 732   ' F6 terminal key (ANSI emulation)
Global Const rcAnsiF7Key     = 733   ' F7 terminal key (ANSI emulation)
Global Const rcAnsiF8Key     = 734   ' F8 terminal key (ANSI emulation)
Global Const rcAnsiF9Key     = 735   ' F9 terminal key (ANSI emulation)
Global Const rcAnsiF10Key    = 736   ' F10 terminal key (ANSI emulation)
Global Const rcAnsiF11Key    = 737   ' F11 terminal key (ANSI emulation)
Global Const rcAnsiF12Key    = 738   ' F12 terminal key (ANSI emulation)
Global Const rcAnsiHomeKey   = 739   ' Home terminal key (ANSI emulation)
Global Const rcAnsiInsertKey = 740   ' Insert terminal key (ANSI emulation)
Global Const rcAnsiPageDownKey = 741 ' Page down terminal key (ANSI emulation)
Global Const rcAnsiPageUpKey = 742   ' Page up terminal key (ANSI emulation)
Global Const rcAnsiShiftF1Key = 743  ' Shift F1 terminal key (ANSI emulation)
Global Const rcAnsiShiftF2Key = 744  ' Shift F2 terminal key (ANSI emulation)
Global Const rcAnsiShiftF3Key = 745  ' Shift F3 terminal key (ANSI emulation)
Global Const rcAnsiShiftF4Key = 746  ' Shift F4 terminal key (ANSI emulation)
Global Const rcAnsiShiftF5Key = 747  ' Shift F5 terminal key (ANSI emulation)
Global Const rcAnsiShiftF6Key = 748  ' Shift F6 terminal key (ANSI emulation)
Global Const rcAnsiShiftF7Key = 749  ' Shift F7 terminal key (ANSI emulation)
Global Const rcAnsiShiftF8Key = 750  ' Shift F8 terminal key (ANSI emulation)
Global Const rcAnsiShiftF9Key = 751  ' Shift F9 terminal key (ANSI emulation)
Global Const rcAnsiShiftF10Key = 752 ' Shift F10 terminal key (ANSI emulation)
Global Const rcAnsiShiftF11Key = 753 ' Shift F11 terminal key (ANSI emulation)
Global Const rcAnsiShiftF12Key = 754 ' Shift F12 terminal key (ANSI emulation)
Global Const rcVtComposeKey  = 800   ' Compose terminal key (VT emulation)
Global Const rcVtF1Key       = 801   ' F1 terminal key (VT emulation)
Global Const rcVtF2Key       = 802   ' F2 terminal key (VT emulation)
Global Const rcVtF3Key       = 803   ' F3 terminal key (VT emulation)
Global Const rcVtF4Key       = 804   ' F4 terminal key (VT emulation)
Global Const rcVtF5Key       = 805   ' F5 terminal key (VT emulation)
Global Const rcVtHoldScreenClearKey = 806 ' Hold screen clear terminal key (VT emulation)
Global Const rcVtHoldScreenSetKey = 807 ' Hold screen set terminal key (VT emulation)
Global Const rcVtPrintScreenKey = 808 ' Print screen terminal key (VT emulation)
Global Const rcVtSendNullKey = 809   ' Send NULL terminal key (VT emulation)
Global Const rcVtUdk6Key     = 810   ' UDK 6 terminal key (VT emulation)
Global Const rcVtUdk7Key     = 811   ' UDK 7 terminal key (VT emulation)
Global Const rcVtUdk8Key     = 812   ' UDK 8 terminal key (VT emulation)
Global Const rcVtUdk9Key     = 813   ' UDK 9 terminal key (VT emulation)
Global Const rcVtUdk10Key    = 814   ' UDK 10 terminal key (VT emulation)
Global Const rcVtUdk11Key    = 815   ' UDK 11 terminal key (VT emulation)
Global Const rcVtUdk12Key    = 816   ' UDK 12 terminal key (VT emulation)
Global Const rcVtUdk13Key    = 817   ' UDK 13 terminal key (VT emulation)
Global Const rcVtUdk14Key    = 818   ' UDK 14 terminal key (VT emulation)
Global Const rcVtUdk15Key    = 819   ' UDK 15 terminal key (VT emulation)
Global Const rcVtUdk16Key    = 820   ' UDK 16 terminal key (VT emulation)
Global Const rcVtUdk17Key    = 821   ' UDK 17 terminal key (VT emulation)
Global Const rcVtUdk18Key    = 822   ' UDK 18 terminal key (VT emulation)
Global Const rcVtUdk19Key    = 823   ' UDK 19 terminal key (VT emulation)
Global Const rcVtUdk20Key    = 824   ' UDK 20 terminal key (VT emulation)
Global Const rcVtShiftDownKey = 825  ' Shift cursor down terminal key (VT emulation)
Global Const rcVtShiftLeftKey = 826  ' Shift cursor left terminal key (VT emulation)
Global Const rcVtShiftRightKey = 827 ' Shift cursor right terminal key (VT emulation)
Global Const rcVtShiftUpKey  = 828   ' Shift cursor up terminal key (VT emulation)
Global Const rcTekZoomKey    = 829   ' TEK zoom terminal key (Tek emulation)
Global Const rcVt0Key        = 830   ' Keypad 0 terminal key (VT emulation)
Global Const rcVt1Key        = 831   ' Keypad 1 terminal key (VT emulation)
Global Const rcVt2Key        = 832   ' Keypad 2 terminal key (VT emulation)
Global Const rcVt3Key        = 833   ' Keypad 3 terminal key (VT emulation)
Global Const rcVt4Key        = 834   ' Keypad 4 terminal key (VT emulation)
Global Const rcVt5Key        = 835   ' Keypad 5 terminal key (VT emulation)
Global Const rcVt6Key        = 836   ' Keypad 6 terminal key (VT emulation)
Global Const rcVt7Key        = 837   ' Keypad 7 terminal key (VT emulation)
Global Const rcVt8Key        = 838   ' Keypad 8 terminal key (VT emulation)
Global Const rcVt9Key        = 839   ' Keypad 9 terminal key (VT emulation)
Global Const rcVtBackArrowKey = 840  ' Back arrow (delete) terminal key (VT emulation)
Global Const rcVtBreakKey    = 841   ' Break terminal key (VT emulation)
Global Const rcVtCommaKey    = 842   ' Keypad comma terminal key (VT emulation)
Global Const rcVtDecimalKey  = 843   ' Keypad decimal terminal key (VT emulation)
Global Const rcVtDisconnectKey = 844 ' Disconnect terminal key (VT emulation)
Global Const rcVtDownKey     = 845   ' Cursor down terminal key (VT emulation)
Global Const rcVtEnterKey    = 846   ' Enter terminal key (VT emulation)
Global Const rcVtEscKey      = 847   ' Escape terminal key (VT emulation)
Global Const rcVtF6Key       = 848   ' F6 terminal key (VT emulation)
Global Const rcVtF7Key       = 849   ' F7 terminal key (VT emulation)
Global Const rcVtF8Key       = 850   ' F8 terminal key (VT emulation)
Global Const rcVtF9Key       = 851   ' F9 terminal key (VT emulation)
Global Const rcVtF10Key      = 852   ' F10 terminal key (VT emulation)
Global Const rcVtF11Key      = 853   ' F11 terminal key (VT emulation)
Global Const rcVtF12Key      = 854   ' F12 terminal key (VT emulation)
Global Const rcVtF13Key      = 855   ' F13 terminal key (VT emulation)
Global Const rcVtF14Key      = 856   ' F14 terminal key (VT emulation)
Global Const rcVtF15Key      = 857   ' F15 terminal key (VT emulation)
Global Const rcVtF16Key      = 858   ' F16 terminal key (VT emulation)
Global Const rcVtF17Key      = 859   ' F17 terminal key (VT emulation)
Global Const rcVtF18Key      = 860   ' F18 terminal key (VT emulation)
Global Const rcVtF19Key      = 861   ' F19 terminal key (VT emulation)
Global Const rcVtF20Key      = 862   ' F20 terminal key (VT emulation)
Global Const rcVtFindKey     = 863   ' Find terminal key (VT emulation)
Global Const rcVtHoldScreenKey = 864 ' Hold screen terminal key (VT emulation)
Global Const rcVtInsertHereKey = 865 ' Insert here terminal key (VT emulation)
Global Const rcVtLeftKey     = 866   ' Cursor left terminal key (VT emulation)
Global Const rcVtMinusKey    = 867   ' Keypad minus terminal key (VT emulation)
Global Const rcVtNextScreenKey = 868 ' Next screen terminal key (VT emulation)
Global Const rcVtNotBackArrowKey = 869 ' Not back arrow (backspace) terminal key (VT emulation)
Global Const rcVtPF1Key      = 870   ' PF1 terminal key (VT emulation)
Global Const rcVtPF2Key      = 871   ' PF2 terminal key (VT emulation)
Global Const rcVtPF3Key      = 872   ' PF3 terminal key (VT emulation)
Global Const rcVtPF4Key      = 873   ' PF4 terminal key (VT emulation)
Global Const rcVtPrevScreenKey = 874 ' Prev screen terminal key (VT emulation)
Global Const rcVtRemoveKey   = 875   ' Remove terminal key (VT emulation)
Global Const rcVtReturnKey   = 876   ' Return terminal key (VT emulation)
Global Const rcVtRightKey    = 877   ' Cursor right terminal key (VT emulation)
Global Const rcVtScrollDownKey = 878 ' Scroll down terminal key (VT emulation)
Global Const rcVtScrollUpKey = 879   ' Scroll up terminal key (VT emulation)
Global Const rcVtSelectKey   = 880   ' Select terminal key (VT emulation)
Global Const rcVtSendAnswerbackKey = 881 ' Send answerback terminal key (VT emulation)
Global Const rcVtTabKey      = 882   ' Tab terminal key (VT emulation)
Global Const rcVtUpKey       = 883   ' Cursor up terminal key (VT emulation)
Global Const rcAddsF1Key     = 900   ' ADDS F1 terminal key
Global Const rcAddsF2Key     = 901   ' ADDS F2 terminal key
Global Const rcAddsF3Key     = 902   ' ADDS F3 terminal key
Global Const rcAddsF4Key     = 903   ' ADDS F4 terminal key
Global Const rcAddsF5Key     = 904   ' ADDS F5 terminal key
Global Const rcAddsF6Key     = 905   ' ADDS F6 terminal key
Global Const rcAddsF7Key     = 906   ' ADDS F7 terminal key
Global Const rcAddsF8Key     = 907   ' ADDS F8 terminal key
Global Const rcAddsF9Key     = 908   ' ADDS F9 terminal key
Global Const rcAddsF10Key    = 909   ' ADDS F10 terminal key
Global Const rcAddsF11Key    = 910   ' ADDS F11 terminal key
Global Const rcAddsF12Key    = 911   ' ADDS F12 terminal key
Global Const rcAddsShiftF1Key = 912  ' ADDS Shift F1 terminal Key
Global Const rcAddsShiftF2Key = 913  ' ADDS Shift F2 terminal Key
Global Const rcAddsShiftF3Key = 914  ' ADDS Shift F3 terminal Key
Global Const rcAddsShiftF4Key = 915  ' ADDS Shift F4 terminal Key
Global Const rcAddsShiftF5Key = 916  ' ADDS Shift F5 terminal Key
Global Const rcAddsShiftF6Key = 917  ' ADDS Shift F6 terminal Key
Global Const rcAddsShiftF7Key = 918  ' ADDS Shift F7 terminal Key
Global Const rcAddsShiftF8Key = 919  ' ADDS Shift F8 terminal Key
Global Const rcAddsShiftF9Key = 920  ' ADDS Shift F9 terminal Key
Global Const rcAddsShiftF10Key = 921 ' ADDS Shift F10 terminal Key
Global Const rcAddsShiftF11Key = 922 ' ADDS Shift F11 terminal Key
Global Const rcAddsShiftF12Key = 923 ' ADDS Shift F12 terminal Key
Global Const rcAddsUpKey     = 924   ' ADDS Up terminal Key
Global Const rcAddsDownKey   = 925   ' ADDS Down terminal Key
Global Const rcAddsLeftKey   = 926   ' ADDS Left terminal Key
Global Const rcAddsShiftLeftKey = 928 ' ADDS Shift Left terminal Key
Global Const rcAddsRightKey  = 927   ' ADDS Right terminal Key
Global Const rcAddsShiftRightKey = 929 ' ADDS Shift Right terminal Key
Global Const rcAddsHomeKey   = 930   ' ADDS Home terminal Key
Global Const rcAddsShiftHomeKey = 931 ' ADDS Shift Home terminal Key
Global Const rcAddsInsertKey = 932   ' ADDS Insert terminal Key
Global Const rcAddsShiftInsertKey = 933 ' ADDS Shift Insert terminal Key
Global Const rcAddsDeleteKey = 934   ' ADDS Delete terminal Key
Global Const rcAddsCPDeleteKey = 935 ' ADDS CP Delete terminal Key
Global Const rcAddsShiftCPDeleteKey = 936 ' ADDS Shift CP Delete terminal Key
Global Const rcAddsEndKey    = 937   ' ADDS End terminal Key
Global Const rcAddsShiftEndKey = 938 ' ADDS Shift End terminal Key
Global Const rcAddsPageDownKey = 939 ' ADDS Page Down terminal Key
Global Const rcAddsPageUpKey = 940   ' ADDS Page Up terminal Key
Global Const rcAddsPrintScreenKey = 941 ' ADDS Print Screen terminal Key
Global Const rcAddsShiftPrintScreenKey = 942 ' ADDS Shift Print Screen terminal Key
Global Const rcAddsShiftTabKey = 943 ' ADDS Shift Tab terminal Key
Global Const rcAddsEnterKey  = 944   ' ADDS Enter terminal Key
Global Const rcWyseF1Key     = 1000  ' Wyse F1 terminal Key
Global Const rcWyseF2Key     = 1001  ' Wyse F2 terminal Key
Global Const rcWyseF3Key     = 1002  ' Wyse F3 terminal Key
Global Const rcWyseF4Key     = 1003  ' Wyse F4 terminal Key
Global Const rcWyseF5Key     = 1004  ' Wyse F5 terminal Key
Global Const rcWyseF6Key     = 1005  ' Wyse F6 terminal Key
Global Const rcWyseF7Key     = 1006  ' Wyse F7 terminal Key
Global Const rcWyseF8Key     = 1007  ' Wyse F8 terminal Key
Global Const rcWyseF9Key     = 1008  ' Wyse F9 terminal Key
Global Const rcWyseF10Key    = 1009  ' Wyse F10 terminal Key
Global Const rcWyseF11Key    = 1010  ' Wyse F11 terminal Key
Global Const rcWyseF12Key    = 1011  ' Wyse F12 terminal Key
Global Const rcWyseF13Key    = 1012  ' Wyse F13 terminal Key
Global Const rcWyseF14Key    = 1013  ' Wyse F14 terminal Key
Global Const rcWyseF15Key    = 1014  ' Wyse F15 terminal Key
Global Const rcWyseF16Key    = 1015  ' Wyse F16 terminal Key
Global Const rcWyseShiftF1Key = 1016 ' Wyse Shift F1 terminal Key
Global Const rcWyseShiftF2Key = 1017 ' Wyse Shift F2 terminal Key
Global Const rcWyseShiftF3Key = 1018 ' Wyse Shift F3 terminal Key
Global Const rcWyseShiftF4Key = 1019 ' Wyse Shift F4 terminal Key
Global Const rcWyseShiftF5Key = 1020 ' Wyse Shift F5 terminal Key
Global Const rcWyseShiftF6Key = 1021 ' Wyse Shift F6 terminal Key
Global Const rcWyseShiftF7Key = 1022 ' Wyse Shift F7 terminal Key
Global Const rcWyseShiftF8Key = 1023 ' Wyse Shift F8 terminal Key
Global Const rcWyseShiftF9Key = 1024 ' Wyse Shift F9 terminal Key
Global Const rcWyseShiftF10Key = 1025 ' Wyse Shift F10 terminal Key
Global Const rcWyseShiftF11Key = 1026 ' Wyse Shift F11 terminal Key
Global Const rcWyseShiftF12Key = 1027 ' Wyse Shift F12 terminal Key
Global Const rcWyseShiftF13Key = 1028 ' Wyse Shift F13 terminal Key
Global Const rcWyseShiftF14Key = 1029 ' Wyse Shift F14 terminal Key
Global Const rcWyseShiftF15Key = 1030 ' Wyse Shift F15 terminal Key
Global Const rcWyseShiftF16Key = 1031 ' Wyse Shift F16 terminal Key
Global Const rcWyseUpKey     = 1032  ' Wyse Up terminal Key
Global Const rcWyseDownKey   = 1033  ' Wyse Down terminal Key
Global Const rcWyseLeftKey   = 1034  ' Wyse Left terminal Key
Global Const rcWyseInsertCharKey = 1035 ' Wyse Insert Char terminal Key
Global Const rcWyseRightKey  = 1036  ' Wyse Right terminal Key
Global Const rcWyseInsertLineKey = 1037 ' Wyse Insert Line terminal Key
Global Const rcWyseSendDeleteKey = 1038 ' Wyse Send Delete terminal Key
Global Const rcWyseDeleteCharKey = 1039 ' Wyse Delete Char terminal Key
Global Const rcWyseDeleteLineKey = 1040 ' Wyse Delete Line terminal Key
Global Const rcWyseClearLineKey = 1041 ' Wyse Clear Line terminal Key
Global Const rcWyseClearPageKey = 1042 ' Wyse Clear Page terminal Key
Global Const rcWyseHomeKey   = 1043  ' Wyse Home terminal Key
Global Const rcWyseHomeCursorKey = 1044 ' Wyse Home Cursor terminal Key
Global Const rcWyseInsertModeKey = 1045 ' Wyse Insert Mode terminal Key
Global Const rcWyseReplaceModeKey = 1046 ' Wyse Replace Mode terminal Key
Global Const rcWysePageDownKey = 1048 ' Wyse Page Down terminal Key
Global Const rcWysePageUpKey = 1047  ' Wyse Page Up terminal Key
Global Const rcWysePrintScreenKey = 1049 ' Wyse Print Screen terminal Key
Global Const rcWyseSendKey   = 1050  ' Wyse Send terminal Key
Global Const rcWyseBackTabKey = 1051 ' Wyse Back Tab terminal Key
Global Const rcDGF1Key       = 1100  ' DG F1 terminal Key
Global Const rcDGF2Key       = 1101  ' DG F2 terminal Key
Global Const rcDGF3Key       = 1102  ' DG F3 terminal Key
Global Const rcDGF4Key       = 1103  ' DG F4 terminal Key
Global Const rcDGF5Key       = 1104  ' DG F5 terminal Key
Global Const rcDGF6Key       = 1105  ' DG F6 terminal Key
Global Const rcDGF7Key       = 1106  ' DG F7 terminal Key
Global Const rcDGF8Key       = 1107  ' DG F8 terminal Key
Global Const rcDGF9Key       = 1108  ' DG F9 terminal Key
Global Const rcDGF10Key      = 1109  ' DG F10 terminal Key
Global Const rcDGF11Key      = 1110  ' DG F11 terminal Key
Global Const rcDGF12Key      = 1111  ' DG F12 terminal Key
Global Const rcDGF13Key      = 1112  ' DG F13 terminal Key
Global Const rcDGF14Key      = 1113  ' DG F14 terminal Key
Global Const rcDGF15Key      = 1114  ' DG F15 terminal Key
Global Const rcDGF16Key      = 1115  ' DG F16 terminal Key
Global Const rcDGF17Key      = 1116  ' DG F17 terminal Key
Global Const rcDGF18Key      = 1117  ' DG F18 terminal Key
Global Const rcDGF19Key      = 1118  ' DG F19 terminal Key
Global Const rcDGF20Key      = 1119  ' DG F20 terminal Key
Global Const rcDGShiftF1Key  = 1120  ' DG Shift F1 terminal Key
Global Const rcDGShiftF2Key  = 1121  ' DG Shift F2 terminal Key
Global Const rcDGShiftF3Key  = 1122  ' DG Shift F3 terminal Key
Global Const rcDGShiftF4Key  = 1123  ' DG Shift F4 terminal Key
Global Const rcDGShiftF5Key  = 1124  ' DG Shift F5 terminal Key
Global Const rcDGShiftF6Key  = 1125  ' DG Shift F6 terminal Key
Global Const rcDGShiftF7Key  = 1126  ' DG Shift F7 terminal Key
Global Const rcDGShiftF8Key  = 1127  ' DG Shift F8 terminal Key
Global Const rcDGShiftF9Key  = 1128  ' DG Shift F9 terminal Key
Global Const rcDGShiftF10Key = 1129  ' DG Shift F10 terminal Key
Global Const rcDGShiftF11Key = 1130  ' DG Shift F11 terminal Key
Global Const rcDGShiftF12Key = 1131  ' DG Shift F12 terminal Key
Global Const rcDGShiftF13Key = 1132  ' DG Shift F13 terminal Key
Global Const rcDGShiftF14Key = 1133  ' DG Shift F14 terminal Key
Global Const rcDGShiftF15Key = 1134  ' DG Shift F15 terminal Key
Global Const rcDGShiftF16Key = 1135  ' DG Shift F16 terminal Key
Global Const rcDGShiftF17Key = 1136  ' DG Shift F17 terminal Key
Global Const rcDGShiftF18Key = 1137  ' DG Shift F18 terminal Key
Global Const rcDGShiftF19Key = 1138  ' DG Shift F19 terminal Key
Global Const rcDGShiftF20Key = 1139  ' DG Shift F20 terminal Key
Global Const rcDGCtrlF1Key   = 1140  ' DG Ctrl F1 terminal Key
Global Const rcDGCtrlF2Key   = 1141  ' DG Ctrl F2 terminal Key
Global Const rcDGCtrlF3Key   = 1142  ' DG Ctrl F3 terminal Key
Global Const rcDGCtrlF4Key   = 1143  ' DG Ctrl F4 terminal Key
Global Const rcDGCtrlF5Key   = 1144  ' DG Ctrl F5 terminal Key
Global Const rcDGCtrlF6Key   = 1145  ' DG Ctrl F6 terminal Key
Global Const rcDGCtrlF7Key   = 1146  ' DG Ctrl F7 terminal Key
Global Const rcDGCtrlF8Key   = 1147  ' DG Ctrl F8 terminal Key
Global Const rcDGCtrlF9Key   = 1148  ' DG Ctrl F9 terminal Key
Global Const rcDGCtrlF10Key  = 1149  ' DG Ctrl F10 terminal Key
Global Const rcDGCtrlF11Key  = 1150  ' DG Ctrl F11 terminal Key
Global Const rcDGCtrlF12Key  = 1151  ' DG Ctrl F12 terminal Key
Global Const rcDGCtrlF13Key  = 1152  ' DG Ctrl F13 terminal Key
Global Const rcDGCtrlF14Key  = 1153  ' DG Ctrl F14 terminal Key
Global Const rcDGCtrlF15Key  = 1154  ' DG Ctrl F15 terminal Key
Global Const rcDGCtrlF16Key  = 1155  ' DG Ctrl F16 terminal Key
Global Const rcDGCtrlF17Key  = 1156  ' DG Ctrl F17 terminal Key
Global Const rcDGCtrlF18Key  = 1157  ' DG Ctrl F18 terminal Key
Global Const rcDGCtrlF19Key  = 1158  ' DG Ctrl F19 terminal Key
Global Const rcDGCtrlF20Key  = 1179  ' DG Ctrl F20 terminal Key
Global Const rcDGCtrlShiftF1Key = 1140 ' DG Ctrl Shift F1 terminal Key
Global Const rcDGCtrlShiftF2Key = 1161 ' DG Ctrl Shift F2 terminal Key
Global Const rcDGCtrlShiftF3Key = 1162 ' DG Ctrl Shift F3 terminal Key
Global Const rcDGCtrlShiftF4Key = 1163 ' DG Ctrl Shift F4 terminal Key
Global Const rcDGCtrlShiftF5Key = 1164 ' DG Ctrl Shift F5 terminal Key
Global Const rcDGCtrlShiftF6Key = 1165 ' DG Ctrl Shift F6 terminal Key
Global Const rcDGCtrlShiftF7Key = 1166 ' DG Ctrl Shift F7 terminal Key
Global Const rcDGCtrlShiftF8Key = 1167 ' DG Ctrl Shift F8 terminal Key
Global Const rcDGCtrlShiftF9Key = 1168 ' DG Ctrl Shift F9 terminal Key
Global Const rcDGCtrlShiftF10Key = 1169 ' DG Ctrl Shift F10 terminal Key
Global Const rcDGCtrlShiftF11Key = 1170 ' DG Ctrl Shift F11 terminal Key
Global Const rcDGCtrlShiftF12Key = 1171 ' DG Ctrl Shift F12 terminal Key
Global Const rcDGCtrlShiftF13Key = 1172 ' DG Ctrl Shift F13 terminal Key
Global Const rcDGCtrlShiftF14Key = 1173 ' DG Ctrl Shift F14 terminal Key
Global Const rcDGCtrlShiftF15Key = 1174 ' DG Ctrl Shift F15 terminal Key
Global Const rcDGCtrlShiftF16Key = 1175 ' DG Ctrl Shift F16 terminal Key
Global Const rcDGCtrlShiftF17Key = 1176 ' DG Ctrl Shift F17 terminal Key
Global Const rcDGCtrlShiftF18Key = 1177 ' DG Ctrl Shift F18 terminal Key
Global Const rcDGCtrlShiftF19Key = 1178 ' DG Ctrl Shift F19 terminal Key
Global Const rcDGCtrlShiftF20Key = 1179 ' DG Ctrl Shift F20 terminal Key
Global Const rcDGEnterKey    = 1180  ' DG Enter terminal Key
Global Const rcDGHomeKey     = 1181  ' DG Home terminal Key
Global Const rcDGShiftHomeKey = 1182 ' DG Shift Home terminal Key
Global Const rcDGUpKey       = 1183  ' DG Up terminal Key
Global Const rcDGShiftUpKey  = 1184  ' DG Shift Up terminal Key
Global Const rcDGDownKey     = 1185  ' DG Down terminal Key
Global Const rcDGShiftDownKey = 1186 ' DG Shift Down terminal Key
Global Const rcDGLeftKey     = 1187  ' DG Left terminal Key
Global Const rcDGShiftLeftKey = 1188 ' DG Shift Left terminal Key
Global Const rcDGRightKey    = 1189  ' DG Right terminal Key
Global Const rcDGShiftRightKey = 1190 ' DG Shift Right terminal Key
Global Const rcDGInsertKey   = 1191  ' DG Insert terminal Key
Global Const rcDGShiftInsertKey = 1192 ' DG Shift Insert terminal Key
Global Const rcDGDeleteKey   = 1193  ' DG Delete terminal Key
Global Const rcDGCPDeleteKey = 1194  ' DG CP Delete terminal Key
Global Const rcDGShiftTabKey = 1195  ' DG Shift Tab terminal Key
Global Const rcDGC1Key       = 1196  ' DG C1 terminal Key
Global Const rcDGC2Key       = 1197  ' DG C2 terminal Key
Global Const rcDGC3Key       = 1198  ' DG C3 terminal Key
Global Const rcDGC4Key       = 1199  ' DG C4 terminal Key
Global Const rcDGErasePageKey = 1200 ' DG Erase Page terminal Key
Global Const rcDGEraseEOLKey = 1201  ' DG Erase EOL terminal Key
Global Const rcT27F1Key      = 1250  ' T27 F1 terminal Key
Global Const rcT27F2Key      = 1251  ' T27 F2 terminal Key
Global Const rcT27F3Key      = 1252  ' T27 F3 terminal Key
Global Const rcT27F4Key      = 1253  ' T27 F4 terminal Key
Global Const rcT27F5Key      = 1254  ' T27 F5 terminal Key
Global Const rcT27F6Key      = 1255  ' T27 F6 terminal Key
Global Const rcT27F7Key      = 1256  ' T27 F7 terminal Key
Global Const rcT27F8Key      = 1257  ' T27 F8 terminal Key
Global Const rcT27F9Key      = 1258  ' T27 F9 terminal Key
Global Const rcT27F10Key     = 1259  ' T27 F10 terminal Key
Global Const rcT27ShiftF1Key = 1260  ' T27 Shift F1 terminal Key
Global Const rcT27ShiftF2Key = 1261  ' T27 Shift F2 terminal Key
Global Const rcT27ShiftF3Key = 1262  ' T27 Shift F3 terminal Key
Global Const rcT27ShiftF4Key = 1263  ' T27 Shift F4 terminal Key
Global Const rcT27ShiftF5Key = 1264  ' T27 Shift F5 terminal Key
Global Const rcT27ShiftF6Key = 1265  ' T27 Shift F6 terminal Key
Global Const rcT27ShiftF7Key = 1266  ' T27 Shift F7 terminal Key
Global Const rcT27ShiftF8Key = 1267  ' T27 Shift F8 terminal Key
Global Const rcT27ShiftF9Key = 1268  ' T27 Shift F9 terminal Key
Global Const rcT27ShiftF10Key = 1269 ' T27 Shift F10 terminal Key
Global Const rcT27HomeKey    = 1270  ' T27 terminal Key
Global Const rcT27ClearKey   = 1271  ' T27 terminal Key
Global Const rcT27HelpKey    = 1272  ' T27 terminal Key
Global Const rcT27PrintKey   = 1273  ' T27 terminal Key
Global Const rcT27ShiftPrintKey = 1274 ' T27 terminal Key
Global Const rcT27DeleteLineKey = 1275 ' T27 terminal Key
Global Const rcT27DeleteCharKey = 1276 ' T27 terminal Key
Global Const rcT27ClearEndOfLineKey = 1277 ' T27 terminal Key
Global Const rcT27ClearEndOfPageKey = 1278 ' T27 terminal Key
Global Const rcT27InsertCharKey = 1279 ' T27 terminal Key
Global Const rcT27InsertLineKey = 1280 ' T27 terminal Key
Global Const rcT27EnterKey   = 1281  ' T27 terminal Key
Global Const rcT27CursorRightKey = 1282 ' T27 terminal Key
Global Const rcT27CursorLeftKey = 1283 ' T27 terminal Key
Global Const rcT27CursorDownKey = 1284 ' T27 terminal Key
Global Const rcT27CursorUpKey = 1285 ' T27 terminal Key
Global Const rcT27TransmitKey = 1286 ' T27 terminal Key
Global Const rcT27LocalKey   = 1288  ' T27 terminal Key
Global Const rcT27ReceiveKey = 1289  ' T27 terminal Key
Global Const rcT27BackPageKey = 1290 ' T27 terminal Key
Global Const rcT27NextPageKey = 1291 ' T27 terminal Key
Global Const rcT27ETXKey     = 1292  ' T27 terminal Key
Global Const rcT27GSDelimKey = 1293  ' T27 terminal Key
Global Const rcT27DoubleZeroKey = 1294 ' T27 terminal Key
Global Const rcT27BackTabKey = 1295  ' T27 terminal Key
Global Const rcT27ControlKey = 1296  ' T27 terminal Key
Global Const rcT27TabKey     = 1297  ' T27 terminal Key
Global Const rcT27SpecifyKey = 1287  ' T27 terminal Key
Global Const rcELFDeleteCharKey = 1300 ' ELF Delete Character Key
Global Const rcELFInsertSpaceKey = 1301 ' ELF Insert Space Key
Global Const rcELFHomeKey    = 1302  ' ELF Home Key
Global Const rcELFEndKey     = 1303  ' ELF End Key
Global Const rcELFShiftHomeKey = 1304 ' ELF Shift Home Key
Global Const rcELFShiftEndKey = 1305 ' ELF Shift End Key
Global Const rcELFBackspaceKey = 1306 ' ELF Backspace Key
Global Const rcELFTransmitKey = 1307 ' ELF Transmit Key
Global Const rcT27LineTransmitKey = 1298 ' T27 terminal Key
Global Const rcLinuxF1Key    = 1401  ' Linux F1 terminal Key
Global Const rcLinuxF2Key    = 1402  ' Linux F2 terminal Key
Global Const rcLinuxF3Key    = 1403  ' Linux F3 terminal Key
Global Const rcLinuxF4Key    = 1404  ' Linux F4 terminal Key
Global Const rcLinuxF5Key    = 1405  ' Linux F5 terminal Key
Global Const rcLinuxF6Key    = 1406  ' Linux F6 terminal Key
Global Const rcLinuxF7Key    = 1407  ' Linux F7 terminal Key
Global Const rcLinuxF8Key    = 1408  ' Linux F8 terminal Key
Global Const rcLinuxF9Key    = 1409  ' Linux F9 terminal Key
Global Const rcLinuxF10Key   = 1410  ' Linux F10 terminal Key
Global Const rcLinuxF11Key   = 1411  ' Linux F11 terminal Key
Global Const rcLinuxF12Key   = 1412  ' Linux F12 terminal Key
Global Const rcLinuxF13Key   = 1413  ' Linux F13 terminal Key
Global Const rcLinuxF14Key   = 1414  ' Linux F14 terminal Key
Global Const rcLinuxF15Key   = 1415  ' Linux F15 terminal Key
Global Const rcLinuxF16Key   = 1416  ' Linux F16 terminal Key
Global Const rcLinuxF17Key   = 1417  ' Linux F17 terminal Key
Global Const rcLinuxF18Key   = 1418  ' Linux F18 terminal Key
Global Const rcLinuxF19Key   = 1419  ' Linux F19 terminal Key
Global Const rcLinuxF20Key   = 1420  ' Linux F20 terminal Key
Global Const rcLinuxF21Key   = 1421  ' Linux F21 terminal Key
Global Const rcLinuxF22Key   = 1422  ' Linux F22 terminal Key
Global Const rcLinuxF23Key   = 1423  ' Linux F23 terminal Key
Global Const rcLinuxF24Key   = 1424  ' Linux F24 terminal Key
Global Const rcLinuxF25Key   = 1425  ' Linux F25 terminal Key
Global Const rcLinuxF26Key   = 1426  ' Linux F26 terminal Key
Global Const rcLinuxF27Key   = 1427  ' Linux F27 terminal Key
Global Const rcLinuxF28Key   = 1428  ' Linux F28 terminal Key
Global Const rcLinuxF29Key   = 1429  ' Linux F29 terminal Key
Global Const rcLinuxF30Key   = 1430  ' Linux F30 terminal Key
Global Const rcLinuxF31Key   = 1431  ' Linux F31 terminal Key
Global Const rcLinuxF32Key   = 1432  ' Linux F32 terminal Key
Global Const rcLinuxF33Key   = 1433  ' Linux F33 terminal Key
Global Const rcLinuxF34Key   = 1434  ' Linux F34 terminal Key
Global Const rcLinuxF35Key   = 1435  ' Linux F35 terminal Key
Global Const rcLinuxF36Key   = 1436  ' Linux F36 terminal Key
Global Const rcLinuxF37Key   = 1437  ' Linux F37 terminal Key
Global Const rcLinuxF38Key   = 1438  ' Linux F38 terminal Key
Global Const rcLinuxF39Key   = 1439  ' Linux F39 terminal Key
Global Const rcLinuxF40Key   = 1440  ' Linux F40 terminal Key
Global Const rcLinuxF41Key   = 1441  ' Linux F41 terminal Key
Global Const rcLinuxF42Key   = 1442  ' Linux F42 terminal Key
Global Const rcLinuxF43Key   = 1443  ' Linux F43 terminal Key
Global Const rcLinuxF44Key   = 1444  ' Linux F44 terminal Key
Global Const rcLinuxF45Key   = 1445  ' Linux F45 terminal Key
Global Const rcLinuxF46Key   = 1446  ' Linux F46 terminal Key
Global Const rcLinuxF47Key   = 1447  ' Linux F47 terminal Key
Global Const rcLinuxF48Key   = 1448  ' Linux F48 terminal Key
Global Const rcLinuxBackTabKey = 1449 ' Linux Backtab terminal Key
Global Const rcASCIIDeleteKey = 1450 ' ASCII Delete Key
Global Const rcASCIIBackspaceKey = 1451 ' ASCII Backspace Key
Global Const rcAnsiBacktabKey = 756  ' ANSI Backtab Key
Global Const rcAnsiShiftDelKey = 755 ' ANSI Shift Delete Key
Global Const rcFloating      = 0     ' Floating
Global Const rcTopBar        = 1     ' Top bar
Global Const rcLeftBar       = 2     ' Left bar
Global Const rcBottomBar     = 3     ' Bottom bar
Global Const rcRightBar      = 4     ' Right bar
Global Const rcIBMF1Key      = 1460  ' IBM F1 terminal Key
Global Const rcIBMF2Key      = 1461  ' IBM F2 terminal Key
Global Const rcIBMF3Key      = 1462  ' IBM F3 terminal Key
Global Const rcIBMF4Key      = 1463  ' IBM F4 terminal Key
Global Const rcIBMF5Key      = 1464  ' IBM F5 terminal Key
Global Const rcIBMF6Key      = 1465  ' IBM F6 terminal Key
Global Const rcIBMF7Key      = 1466  ' IBM F7 terminal Key
Global Const rcIBMF8Key      = 1467  ' IBM F8 terminal Key
Global Const rcIBMF9Key      = 1468  ' IBM F9 terminal Key
Global Const rcIBMF10Key     = 1469  ' IBM F10 terminal Key
Global Const rcIBMF11Key     = 1470  ' IBM F11 terminal Key
Global Const rcIBMF12Key     = 1471  ' IBM F12 terminal Key
Global Const rcIBMShiftF1Key = 1472  ' IBM Shift F1 terminal Key
Global Const rcIBMShiftF2Key = 1473  ' IBM Shift F2 terminal Key
Global Const rcIBMShiftF3Key = 1474  ' IBM Shift F3 terminal Key
Global Const rcIBMShiftF4Key = 1475  ' IBM Shift F4 terminal Key
Global Const rcIBMShiftF5Key = 1476  ' IBM Shift F5 terminal Key
Global Const rcIBMShiftF6Key = 1477  ' IBM Shift F6 terminal Key
Global Const rcIBMShiftF7Key = 1478  ' IBM Shift F7 terminal Key
Global Const rcIBMShiftF8Key = 1479  ' IBM Shift F8 terminal Key
Global Const rcIBMShiftF9Key = 1480  ' IBM Shift F9 terminal Key
Global Const rcIBMShiftF10Key = 1481 ' IBM Shift F10 terminal Key
Global Const rcIBMShiftF11Key = 1482 ' IBM Shift F11 terminal Key
Global Const rcIBMShiftF12Key = 1483 ' IBM Shift F12 terminal Key
Global Const rcIBMCtrlShiftF1Key = 1484 ' IBM Control Shift F1 terminal Key
Global Const rcIBMCtrlShiftF2Key = 1485 ' IBM Control Shift F2 terminal Key
Global Const rcIBMCtrlShiftF3Key = 1486 ' IBM Control Shift F3 terminal Key
Global Const rcIBMCtrlShiftF4Key = 1487 ' IBM Control Shift F4 terminal Key
Global Const rcIBMCtrlShiftF5Key = 1488 ' IBM Control Shift F5 terminal Key
Global Const rcIBMCtrlShiftF6Key = 1489 ' IBM Control Shift F6 terminal Key
Global Const rcIBMCtrlShiftF7Key = 1490 ' IBM Control Shift F7 terminal Key
Global Const rcIBMCtrlShiftF8Key = 1491 ' IBM Control Shift F8 terminal Key
Global Const rcIBMCtrlShiftF9Key = 1492 ' IBM Control Shift F9 terminal Key
Global Const rcIBMCtrlShiftF10Key = 1493 ' IBM Control Shift F10 terminal Key
Global Const rcIBMCtrlShiftF11Key = 1494 ' IBM Control Shift F11 terminal Key
Global Const rcIBMCtrlShiftF12Key = 1495 ' IBM Control Shift F12 terminal Key
Global Const rcIBMDownKey    = 1496  ' IBM Down terminal Key
Global Const rcIBMUpKey      = 1497  ' IBM Up terminal Key
Global Const rcIBMRightKey   = 1498  ' IBM Right terminal Key
Global Const rcIBMLeftKey    = 1499  ' IBM Left terminal Key
Global Const rcIBMHomeKey    = 1500  ' IBM Home terminal Key
Global Const rcIBMDeleteCharKey = 1501 ' IBM Delete Character terminal Key
Global Const rcIBMDeleteLineKey = 1502 ' IBM Delete Line terminal Key
Global Const rcIBMBacktabKey = 1503  ' IBM Backtab terminal Key
Global Const rcIBMPA1Key     = 1504  ' IBM PA1 terminal Key
Global Const rcIBMInsertCharKey = 1505 ' IBM Insert Character terminal Key
Global Const rcIBMInsertLineKey = 1506 ' IBM Insert LIne terminal Key
Global Const rcIBMEraseEOLKey = 1507 ' IBM Erase EOL terminal Key
Global Const rcIBMEraseEOPKey = 1508 ' IBM Erase EOP terminal Key
Global Const rcIBMEraseInputKey = 1519 ' IBM Erase Input terminal Key
Global Const rcIBMNextPageKey = 1509 ' IBM Next Page terminal Key
Global Const rcIBMPA3Key     = 1510  ' IBM PA3 terminal Key
Global Const rcIBMClearPageKey = 1511 ' IBM Clear Page terminal Key
Global Const rcIBMPrevPageKey = 1512 ' IBM Previous Page terminal Key
Global Const rcIBMBackspaceKey = 1513 ' IBM Backspace terminal Key
Global Const rcIBMDelKey     = 1514  ' IBM Del terminal Key
Global Const rcIBMSoftResetKey = 1515 ' IBM Soft Reset terminal Key
Global Const rcIBMHardResetKey = 1516 ' IBM Hard Reset terminal Key
Global Const rcIBMBreakKey   = 1517  ' IBM Break terminal Key
Global Const rcIBMCancelKey  = 1518  ' IBM Cancel terminal Key
Global Const rcIBMSendKey    = 1519  ' IBM Send terminal Key
Global Const rcIBMSendLineKey = 1520 ' IBM Send Line terminal Key
Global Const rcIBMSendMsgKey = 1521  ' IBM Send Msg terminal Key
Global Const rcIBMTabKey     = 1522  ' IBM Tab terminal Key
Global Const rcIBMPA2Key     = 1523  ' IBM PA2 terminal Key
Global Const rcIBMShiftBackspaceKey = 1513 ' IBM Shift Backspace terminal Key
Global Const rcIBMReturnKey  = 1514  ' IBM Return terminal Key
Global Const rcIBMEnterKey   = 1515  ' IBM Enter terminal Key
Global Const rcIBMBlockModeToggle = 1516 ' IBM block mode toggle terminal Key
Global Const rcIBMMonitorModeToggle = 1517 ' IBM monitor mode toggle terminal Key
Global Const rcIBMLinefeedKey = 1518 ' IBM Linefeed terminal Key
Global Const rcIBMPrintScreenKey = 1520 ' IBM Print Screen terminal Key
Global Const rcIBMPrintLineKey = 1521 ' IBM Print Line terminal Key
Global Const rcIBMPrintMessageKey = 1522 ' IBM Print Message terminal Key
Global Const rcIBMTraceModeToggle = 1523 ' IBM Trace Mode Toggle terminal Key
Global Const rcTVIF1Key      = 1524  ' TVI F1 terminal Key
Global Const rcTVIF2Key      = 1525  ' TVI F2 terminal Key
Global Const rcTVIF3Key      = 1526  ' TVI F3 terminal Key
Global Const rcTVIF4Key      = 1527  ' TVI F4 terminal Key
Global Const rcTVIF5Key      = 1528  ' TVI F5 terminal Key
Global Const rcTVIF6Key      = 1539  ' TVI F6 terminal Key
Global Const rcTVIF7Key      = 1540  ' TVI F7 terminal Key
Global Const rcTVIF8Key      = 1541  ' TVI F8 terminal Key
Global Const rcTVIF9Key      = 1542  ' TVI F9 terminal Key
Global Const rcTVIF10Key     = 1543  ' TVI F10 terminal Key
Global Const rcTVIF11Key     = 1544  ' TVI F11 terminal Key
Global Const rcTVIF12Key     = 1545  ' TVI F12 terminal Key
Global Const rcTVIF13Key     = 1546  ' TVI F13 terminal Key
Global Const rcTVIF14Key     = 1547  ' TVI F14 terminal Key
Global Const rcTVIF15Key     = 1548  ' TVI F15 terminal Key
Global Const rcTVIF16Key     = 1549  ' TVI F16 terminal Key
Global Const rcTVIShiftF1Key = 1550  ' TVI Shift F1 terminal Key
Global Const rcTVIShiftF2Key = 1551  ' TVI Shift F2 terminal Key
Global Const rcTVIShiftF3Key = 1552  ' TVI Shift F3 terminal Key
Global Const rcTVIShiftF4Key = 1553  ' TVI Shift F4 terminal Key
Global Const rcTVIShiftF5Key = 1554  ' TVI Shift F5 terminal Key
Global Const rcTVIShiftF6Key = 1555  ' TVI Shift F6 terminal Key
Global Const rcTVIShiftF7Key = 1556  ' TVI Shift F7 terminal Key
Global Const rcTVIShiftF8Key = 1557  ' TVI Shift F8 terminal Key
Global Const rcTVIShiftF9Key = 1558  ' TVI Shift F9 terminal Key
Global Const rcTVIShiftF10Key = 1559 ' TVI Shift F10 terminal Key
Global Const rcTVIShiftF11Key = 1560 ' TVI Shift F11 terminal Key
Global Const rcTVIShiftF12Key = 1561 ' TVI Shift F12 terminal Key
Global Const rcTVIShiftF13Key = 1562 ' TVI Shift F13 terminal Key
Global Const rcTVIShiftF14Key = 1563 ' TVI Shift F14 terminal Key
Global Const rcTVIShiftF15Key = 1564 ' TVI Shift F15 terminal Key
Global Const rcTVIShiftF16Key = 1565 ' TVI Shift F16 terminal Key
Global Const rcTVIDownKey    = 1566  ' TVI Down terminal Key
Global Const rcTVIShiftDownKey = 1567 ' TVI Shift Down terminal Key
Global Const rcTVIUpKey      = 1568  ' TVI Up terminal Key
Global Const rcTVIShiftUpKey = 1569  ' TVI Shift Up terminal Key
Global Const rcTVIRightKey   = 1570  ' TVI Right terminal Key
Global Const rcTVIShiftRightKey = 1571 ' TVI Shift Right terminal Key
Global Const rcTVILeftKey    = 1572  ' TVI Left terminal Key
Global Const rcTVIShiftLeftKey = 1573 ' TVI Shift Left terminal Key
Global Const rcTVIHomeKey    = 1574  ' TVI Home terminal Key
Global Const rcTVIShiftHomeKey = 1575 ' TVI Shift Home terminal Key
Global Const rcTVIEnterKey   = 1576  ' TVI Enter terminal Key
Global Const rcTVIShiftEnterKey = 1577 ' TVI Shift Enter terminal Key
Global Const rcTVIBacktabKey = 1578  ' TVI Backtab terminal Key
Global Const rcTVIShiftBacktabKey = 1579 ' TVI Shift Backtab terminal Key
Global Const rcTVICEKey      = 1580  ' TVI CE terminal Key
Global Const rcTVIShiftCEKey = 1581  ' TVI Shift CE terminal Key
Global Const rcTVITabKey     = 1582  ' TVI Tab terminal Key
Global Const rcTVIShiftTabKey = 1583 ' TVI Shift Tab terminal Key
Global Const rcTVIPrintKey   = 1584  ' TVI Print terminal Key
Global Const rcTVIShiftPrintKey = 1585 ' TVI Shift Print terminal Key
Global Const rcTVIBSKey      = 1586  ' TVI BS terminal Key
Global Const rcTVILFKey      = 1587  ' TVI LF terminal Key
Global Const rcTVIReturnKey  = 1588  ' TVI Return terminal Key
Global Const rcTVIEscKey     = 1589  ' TVI Esc terminal Key
Global Const rcTVIShiftEscKey = 1590 ' TVI Shift Esc terminal Key
Global Const rcTVICharDelKey = 1591  ' TVI Character Delete terminal Key
Global Const rcTVIShiftCharDelKey = 1592 ' TVI Shift Character Delete terminal Key
Global Const rcTVICharInsertKey = 1593 ' TVI Character Insert terminal Key
Global Const rcTVIShiftCharInsertKey = 1594 ' TVI Shift Character Insert terminal Key
Global Const rcTVIClearSpaceKey = 1595 ' TVI Clear Space terminal Key
Global Const rcTVIShiftClearSpaceKey = 1596 ' TVI Shift Clear Space terminal Key
Global Const rcTVILineDeleteKey = 1597 ' TVI Line Delete terminal Key
Global Const rcTVIShiftLineDeleteKey = 1598 ' TVI Shift Line Delete terminal Key
Global Const rcTVILineEraseKey = 1599 ' TVI Line Erase terminal Key
Global Const rcTVIShiftLineEraseKey = 1600 ' TVI Shift Line Erase terminal Key
Global Const rcTVIPageKey    = 1601  ' TVI Page terminal Key
Global Const rcTVIShiftPageKey = 1602 ' TVI Shift Page terminal Key
Global Const rcTVIPageEraseKey = 1603 ' TVI Page Erase terminal Key
Global Const rcTVIShiftPageEraseKey = 1604 ' TVI Shift Page Erase terminal Key
Global Const rcTVISendKey    = 1605  ' TVI Send terminal Key
Global Const rcTVIShiftSendKey = 1606 ' TVI Shift Send terminal Key
Global Const rcTVIDelKey     = 1607  ' TVI Del terminal Key
Global Const rcTVIDoubleZeroKey = 1609 ' TVI Double Zero terminal Key
Global Const rcTVILineInsertKey = 1610 ' TVI Line Insert terminal Key
Global Const rcTVIShiftLineInsertKey = 1611 ' TVI Shift Line Insert terminal Key
Global Const rcTVIHardResetKey = 1612 ' TVI Hard Reset Key
Global Const rcTVISoftResetKey = 1613 ' TVI Soft Reset Key
Global Const rcVTUTF8F1Key   = 1700  ' VT-UTF8 F1 Key
Global Const rcVTUTF8F2Key   = 1701  ' VT-UTF8 F2 Key
Global Const rcVTUTF8F3Key   = 1702  ' VT-UTF8 F3 Key
Global Const rcVTUTF8F4Key   = 1703  ' VT-UTF8 F4 Key
Global Const rcVTUTF8F5Key   = 1704  ' VT-UTF8 F5 Key
Global Const rcVTUTF8F6Key   = 1705  ' VT-UTF8 F6 Key
Global Const rcVTUTF8F7Key   = 1706  ' VT-UTF8 F7 Key
Global Const rcVTUTF8F8Key   = 1707  ' VT-UTF8 F8 Key
Global Const rcVTUTF8F9Key   = 1708  ' VT-UTF8 F9 Key
Global Const rcVTUTF8F10Key  = 1709  ' VT-UTF8 F10 Key
Global Const rcVTUTF8F11Key  = 1710  ' VT-UTF8 F11 Key
Global Const rcVTUTF8F12Key  = 1711  ' VT-UTF8 F12 Key
Global Const rcVTUTF8HomeKey = 1712  ' VT-UTF8 Home Key
Global Const rcVTUTF8EndKey  = 1713  ' VT-UTF8 End Key
Global Const rcVTUTF8InsertKey = 1714 ' VT-UTF8 Insert Key
Global Const rcVTUTF8DeleteKey = 1715 ' VT-UTF8 Delete Key
Global Const rcVTUTF8PageUpKey = 1716 ' VT-UTF8 Page Up Key
Global Const rcVTUTF8PageDownKey = 1717 ' VT-UTF8 Page Down Key
Global Const rcVTUTF8StartFirmwareKey = 1718 ' VT-UTF8 Start Firmware Key
Global Const rcVTUTF8ResetSystemKey = 1719 ' VT-UTF8 Reset System Key
Global Const rcVTUTF8InvokeServiceKey = 1720 ' VT-UTF8 Invoke Service Key
Global Const rcVTUTF8InvokePowerKey = 1721 ' VT-UTF8 Invoke Power Key
Global Const rcVTUTF8PowerAcknowledgementKey = 1722 ' VT-UTF8 Power Acknowledgement Key
Global Const rcVTUTF8ExitWithUIKey = 1723 ' VT-UTF8 Exit With UI Key
Global Const rcVTUTF8ExitWithoutUIKey = 1724 ' VT-UTF8 Exit Without UI Key
Global Const rcVTShiftF1Key  = 1814  ' VT Shift F1 terminal Key
Global Const rcVTShiftF2Key  = 1815  ' VT Shift F2 terminal Key
Global Const rcVTShiftF3Key  = 1816  ' VT Shift F3 terminal Key
Global Const rcVTShiftF4Key  = 1817  ' VT Shift F4 terminal Key
Global Const rcVTShiftF5Key  = 1818  ' VT Shift F5 terminal Key
Global Const rcVTShiftF6Key  = 1819  ' VT Shift F6 terminal Key
Global Const rcVTShiftF7Key  = 1820  ' VT Shift F7 terminal Key
Global Const rcVTShiftF8Key  = 1821  ' VT Shift F8 terminal Key
Global Const rcVTShiftF9Key  = 1822  ' VT Shift F9 terminal Key
Global Const rcVTShiftF10Key = 1823  ' VT Shift F10 terminal Key
Global Const rcVTShiftF11Key = 1824  ' VT Shift F11 terminal Key
Global Const rcVTShiftF12Key = 1825  ' VT Shift F12 terminal Key
Global Const rcVTShiftF13Key = 1826  ' VT Shift F13 terminal Key
Global Const rcVTShiftF14Key = 1827  ' VT Shift F14 terminal Key
Global Const rcVTShiftF15Key = 1828  ' VT Shift F15 terminal Key
Global Const rcVTShiftF16Key = 1829  ' VT Shift F16 terminal Key
Global Const rcVTShiftF17Key = 1830  ' VT Shift F17 terminal Key
Global Const rcVTShiftF18Key = 1831  ' VT Shift F18 terminal Key
Global Const rcVTShiftF19Key = 1832  ' VT Shift F19 terminal Key
Global Const rcVTShiftF20Key = 1833  ' VT Shift F20 terminal Key
