home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SCRNMS.ZIP / KEYS.H < prev    next >
C/C++ Source or Header  |  1990-02-20  |  3KB  |  121 lines

  1. /* keys.h
  2. **
  3. ** Copyright (c) 1987-90, Chris Laforet Software/Chris Laforet
  4. ** All Rights Reserved
  5. **
  6. ** Started: 17 February 1990
  7. **
  8. ** Revision Information: $Logfile:   F:/libs/scrnlib/vcs/keys.h_v  $
  9. **                       $Date:   20 Feb 1990 05:03:06  $
  10. **                       $Revision:   1.1  $
  11. **
  12. */
  13.  
  14.  
  15. #ifdef __cplusplus
  16. extern "C"
  17.     {
  18. #endif
  19.  
  20. #ifndef LIBRARY
  21.     #ifndef __TURBOC__
  22.         #ifndef __ZTC__
  23.             #ifndef PROTECTED
  24.                 #pragma comment(lib,"LSCREEN")
  25.             #else
  26.                 #pragma comment(lib,"LSCREENP")
  27.             #endif
  28.         #endif
  29.     #endif
  30. #endif
  31.  
  32.  
  33. /* Function Keys */
  34.  
  35. #define F1              0x13b
  36. #define F2              0x13c
  37. #define F3              0x13d
  38. #define F4              0x13e
  39. #define F5              0x13f
  40. #define F6              0x140
  41. #define F7              0x141
  42. #define F8              0x142
  43. #define F9              0x143
  44. #define F10             0x144
  45.  
  46. #define CF1             0x15e
  47. #define CF2             0x15f
  48. #define CF3             0x160
  49. #define CF4             0x161
  50. #define CF5             0x162
  51. #define CF6             0x163
  52. #define CF7             0x164
  53. #define CF8             0x165
  54. #define CF9             0x166
  55. #define CF10            0x167
  56.  
  57. #define SF1             0x154
  58. #define SF2             0x155
  59. #define SF3             0x156
  60. #define SF4             0x157
  61. #define SF5             0x158
  62. #define SF6             0x159
  63. #define SF7             0x15a
  64. #define SF8             0x15b
  65. #define SF9             0x15c
  66. #define SF10            0x15d
  67.  
  68. #define AF1             0x168
  69. #define AF2             0x169
  70. #define AF3             0x16a
  71. #define AF4             0x16b
  72. #define AF5             0x16c
  73. #define AF6             0x16d
  74. #define AF7             0x16e
  75. #define AF8             0x16f
  76. #define AF9             0x170
  77. #define AF10            0x171
  78.  
  79.  
  80.  
  81. /* Keypad Keys */
  82.  
  83. #define Ins             0x152
  84. #define Del             0x153
  85. #define Home            0x147
  86. #define End             0x14f
  87. #define PgUp            0x149
  88. #define PgDn            0x151
  89. #define UpArrow         0x148
  90. #define DownArrow        0x150
  91. #define LeftArrow       0x14b
  92. #define RightArrow      0x14d
  93.  
  94. #define CHome            0x177
  95. #define CEnd            0x175
  96. #define CPgUp            0x184
  97. #define CPgDn           0x176
  98. #define CLeftArrow      0x173
  99. #define CRightArrow     0x174
  100.  
  101.  
  102.  
  103. /* Editing Keys */
  104.  
  105. #define BACKSPACE       0x8
  106. #define CBACKSPACE      0x7f
  107. #define SBACKSPACE      0x8
  108. #define ESC             0x1b
  109. #define SPACE           0x20
  110. #define TAB             0x9
  111. #define ENTER            0xd
  112. #define CR                0xd
  113. #define CCR             0xa
  114. #define SCR             0xd
  115. #define STAB            0x10f
  116.  
  117. #ifdef __cplusplus
  118.     }
  119. #endif
  120.  
  121.