Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting Multiple Key Presses

Status
Not open for further replies.

5ilver5aracen

Programmer
Oct 24, 2004
32
0
0
GB
Hi, I'm writing a simple win32 game using vb6 and was wondering whats the best way to check for the keyboard state. The game needs to know if more than 1 key is pressed and what the keys are. Many thanks in advance.
 
Thanks for that. How can you check for multiple keypresses at once though? I need to tell if the user presses on "i" and "o" at the same time for example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top