I have tried using this API:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
...it is working fine but not as desired. This uses a timer(usually w/ interval=1) to check what is currently key pressed. This solution causes computer hog, specially w/ outphased computers. Is there any other way that records the key instantly the user presses a key.
By the way, this appeared in our hands-on exam, and I'm not satisfied with my above solution.
2007-03-24
04:05:19
·
2 answers
·
asked by
vitualpalab0i
1
in
Computers & Internet
➔ Programming & Design