see what key was pressed

srdva59

Active member
Joined
Feb 21, 2009
Messages
28
Programming Experience
Beginner
hi,
i have a pocket pc that have some special keys
and i need detect when a key is pressed in my program.
how can i detect the keys that is pressed?
i have tested in a textbox change function
the box detect all keys except that special keys
there is some api to look for alk keys that´s is pressed
in pocket pc?
thanks a lot for your help
:)
 
you could always use this:

VB.NET:
Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
        Label1.Text = e.KeyCode.ToString
    End Sub
 
hi,
thanks for your help but i have done that
but this don´t detect the keys that i press.
my device is this:
H15
and i want detect when the F1 F2 F3 F4 and others are pressed
so i think if with a api i can do that?
thanks a lot for your help :)
 
Back
Top