Can I raise a keydown event without using the keyboard?

  • Thread starter Thread starter Tanya
  • Start date Start date
T

Tanya

I use a touch screen and I want to simulate a keydown event every time
the user starts typing. Is it possible or I have to use API calls?
 
Typing from where?.. a soft keyboard or external one?
As for raising a keyboard event check out keybd_event()
Regards
Amit
Tanya said:
I use a touch screen and I want to simulate a keydown event every time
the user starts typing. Is it possible or I have to use API calls?
 
Amit,

This function has been superceeded in NT 4.0 and above. One should use
SendInput in order to achieve this.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Amit said:
Typing from where?.. a soft keyboard or external one?
As for raising a keyboard event check out keybd_event()
Regards
Amit
 
Right..:-)
Forgot to mention it....:-(
Regards
-Amit
Nicholas Paldino said:
Amit,

This function has been superceeded in NT 4.0 and above. One should use
SendInput in order to achieve this.
 
Back
Top