home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l408 / 2.img / EXAMPLES.EXE / EXAMPLES / KEYSTATE / KEYSTATE.FRM (.txt) next >
Encoding:
Visual Basic Form  |  1992-10-12  |  4.8 KB  |  145 lines

  1. KeyState
  2. GetKeyState
  3. System
  4. ww{www
  5. ww{www
  6. Form1
  7. Label2
  8. Pressed
  9. System
  10. Label3
  11. State
  12. System
  13. Label1
  14. Shift
  15. System
  16. Pressed
  17. System
  18. Label1
  19. Control
  20. System
  21. Pressed
  22. System
  23. Label1
  24. Insert
  25. System
  26. Pressed
  27. System
  28. State
  29. System
  30. Label1
  31. Num Lock
  32. System
  33. Pressed
  34. System
  35. State
  36. System
  37. Label1
  38. Scroll Lock
  39. System
  40. Pressed
  41. System
  42. State
  43. System
  44. Label1
  45.     Caps Lock
  46. System
  47. Pressed
  48. System
  49. State
  50. System
  51. Command1
  52. System
  53. Label1
  54. Label2
  55. Label2_Click
  56. Text1O
  57. Text1_Change
  58. Text1_KeyDown
  59. KeyCode
  60. Shift
  61. Textw
  62. Form1
  63. Text1_KeyPress
  64. KeyAsciid
  65. Pressed
  66. Label3=
  67. ShiftPressed
  68. Label4
  69. ControlPressedD
  70. InsertPressed
  71. NumLockPressed
  72. ScrollLockPressed9
  73. CapsLockPressed
  74. Label5
  75. Label6D
  76. Label7
  77. Label8
  78. Label9
  79. ShiftStatee
  80. ControlState
  81. LabelState6
  82. InsertState
  83. NumLockStatev
  84. ScrollLockState$
  85. CapsLockState
  86. Command1U
  87. Command1_Click
  88. Form_Click
  89. Form_KeyPress
  90. Form_KeyDown
  91. VK_SHIFT
  92. VK_CONTROL
  93. GetKeyState
  94.     VK_INSERT
  95. VK_NUMLOCK%
  96. Scroll
  97. VK_OEM_SCROLL
  98. VK_CAPITAL
  99. Command1_KeyDown
  100. BreakDownKeyL
  101. State-
  102. HighByte
  103. LowByte]
  104. False
  105. Result
  106. Captionw
  107. Insert
  108. CapsLock
  109. ShowKeys
  110. Command1_KeyUp9
  111. Elementl
  112.     Form_Load
  113. Pressed_Click
  114. Index)
  115.     iteration
  116. GetKeyboardState
  117. KbState
  118. KbStateTypeR
  119. CurrentStatef
  120.     KeyStates
  121. NewState
  122. SetKeyboardState
  123. Before
  124. After
  125.     ForeColor
  126. KeyState
  127. MhTrue
  128. MhFalse
  129. Command1_Click
  130. Command1_KeyDown
  131. BreakDownKey
  132.  if the high-order bit is set, then the key is pressed
  133.  We check the caption value before displayinga
  134.  to eliminate flicker 
  135.  Show in green
  136.  Show in red
  137.  We don't show the state for Shift/Control
  138.  if the low order bit is set, then the state is toggledt
  139.  Show in green
  140.  Show in red
  141. ShowKeys
  142. Command1_KeyUp
  143. Form_Load
  144. Form_KeyDown
  145.