I would use GetAsyncKeyState what to catch what key was pressed on keyboard.
Mine code:
Function GetKey $ ()
For Cnt=1 To 255
If (GetAsyncKeyState (Cnt) And *H8001) < > 0 Then
GetKey $ = Chr (Cnt)
Exit For
End If
Next Cnt
End Function
Code works but returns only main letters.
How I can correct it?
Mi1306
Mine code:
Function GetKey $ ()
For Cnt=1 To 255
If (GetAsyncKeyState (Cnt) And *H8001) < > 0 Then
GetKey $ = Chr (Cnt)
Exit For
End If
Next Cnt
End Function
Code works but returns only main letters.
How I can correct it?
Mi1306