home *** CD-ROM | disk | FTP | other *** search
/ CICA 1992 November / CICA_MS_Windows_CD-ROM_Walnut_Creek_November_1992.iso / win3 / programr / rx / rxvar.h < prev   
Text File  |  1991-09-30  |  3KB  |  113 lines

  1. /*--------------------------------------------------------------------      */
  2. /* rxvar.h                                                                  */
  3. /*NOTE:                                                                     */
  4. /*This is a completly experimental program in it's pre-beta version.        */
  5. /*It is not guaranteed to work properly under all circumstances, although   */
  6. /*it has been tested for a couple of weeks. Everyone who uses this program  */
  7. /*does this on his own risk, so if your machine explodes, don't tell me     */
  8. /*you didn't know.                                                          */
  9. /*                                                                          */
  10. /*Andreas Gruen releases this software "as is", with no express or          */
  11. /*implied warranty, including, but not limited to, the implied warranties   */
  12. /*of merchantability and fitness for a particular purpose.                  */
  13. /*                                                                          */
  14. /*This program is completly free for everyone.                              */
  15. /*You can do with it and its sources whatever you want, but it would        */
  16. /*be fine to leave my name somewhere in the program or startup-banner.      */
  17. /*---------------------------------------------------------------------     */
  18.  
  19. char *button_text[12] = {
  20. "BS_PUSHBUTTON", "BS_DEFPUSHBUTTON",
  21. "BS_CHECKBOX",   "BS_AUTOCHECKBOX",
  22. "BS_RADIOBUTTON","BS_3STATE",
  23. "BS_AUTO3STATE", "BS_GROUPBOX",
  24. "BS_USERBUTTON", "BS_AUTORADIOBUTTON",
  25. "BS_PUSHBOX",    "BS_OWNERDRAW"};
  26.  
  27. char *edit_text[3] = {"ES_LEFT","ES_CENTER","ES_RIGHT"};
  28.  
  29. char *static_text[13] = {
  30. "SS_LEFT",       "SS_CENTER",
  31. "SS_RIGHT",      "SS_ICON",
  32. "SS_BLACKRECT",  "SS_GRAYRECT",
  33. "SS_WHITERECT",  "SS_BLACKFRAME",
  34. "SS_GRAYFRAME",  "SS_WHITEFRAME",
  35. "SS_USERITEM",   "SS_SIMPLE",
  36. "SS_LEFTNOWORDWRAP" };
  37.  
  38. char *combo_text[4] = {
  39. "","CBS_SIMPLE","CBS_DROPDOWN","CBS_DROPDOWNLIST"};
  40.  
  41. struct _texttab {
  42.   char *text;
  43.   UCHAR val;
  44.   };
  45.  
  46. typedef struct _texttab TEXTTAB;
  47.  
  48. TEXTTAB virt_text[] = {
  49. {"LBUTTON",0x01 },
  50. {"RBUTTON",0x02 },
  51. {"CANCEL",0x03 },
  52. {"MBUTTON",0x04 },
  53. {"BACK",0x08 },
  54. {"TAB",0x09 },
  55. {"CLEAR",0x0C },
  56. {"RETURN",0x0D },
  57. {"SHIFT",0x10 },
  58. {"CONTROL",0x11 },
  59. {"MENU",0x12 },
  60. {"PAUSE",0x13 },
  61. {"CAPITAL",0x14 },
  62. {"ESCAPE",0x1B },
  63. {"SPACE",0x20 },
  64. {"PRIOR",0x21 },
  65. {"NEXT",0x22 },
  66. {"END",0x23 },
  67. {"HOME",0x24 },
  68. {"LEFT",0x25 },
  69. {"UP",0x26 },
  70. {"RIGHT",0x27 },
  71. {"DOWN",0x28 },
  72. {"SELECT",0x29 },
  73. {"PRINT",0x2A },
  74. {"EXECUTE",0x2B },
  75. {"SNAPSHOT",0x2C },
  76. {"INSERT",0x2D },
  77. {"DELETE",0x2E },
  78. {"HELP",0x2F },
  79. {"NUMPAD0",0x60 },
  80. {"NUMPAD1",0x61 },
  81. {"NUMPAD2",0x62 },
  82. {"NUMPAD3",0x63 },
  83. {"NUMPAD4",0x64 },
  84. {"NUMPAD5",0x65 },
  85. {"NUMPAD6",0x66 },
  86. {"NUMPAD7",0x67 },
  87. {"NUMPAD8",0x68 },
  88. {"NUMPAD9",0x69 },
  89. {"MULTIPLY",0x6A },
  90. {"ADD",0x6B },
  91. {"SEPARATOR",0x6C },
  92. {"SUBTRACT",0x6D },
  93. {"DECIMAL",0x6E },
  94. {"DIVIDE",0x6F },
  95. {"F1",0x70 },
  96. {"F2",0x71 },
  97. {"F3",0x72 },
  98. {"F4",0x73 },
  99. {"F5",0x74 },
  100. {"F6",0x75 },
  101. {"F7",0x76 },
  102. {"F8",0x77 },
  103. {"F9",0x78 },
  104. {"F10",0x79 },
  105. {"F11",0x7A },
  106. {"F12",0x7B },
  107. {"F13",0x7C },
  108. {"F14",0x7D },
  109. {"F15",0x7E },
  110. {"F16",0x7F },
  111. {"NUMLOCK",0x90 },
  112. {"", 0x00}    };
  113.