key press recognition please help.

G

Gary Jackson

Hi All
Hop u can help me with my problem, I am new to c++ and have started
an application, on my form I have a number of edit boxes and each one is
incremented by 1 each time a specific key is pressed. My problem is that I
want to run 5 keyboards to this app and the only way to increment the edit
box is if the focus is set to that box, but I need to be able to press any
of the 5 keyboards keys and the edit boxes no matter which will increment as
needed, is there a way of monitering the key presses and setting the focus
into each edit box at key press activation.

Please help I have dived in at the deep end !!! but I would realy like
to get this running...

Thanks in advance.

GAZ.
 
N

Niels Dybdahl

is there a way of monitering the key presses and setting the focus
into each edit box at key press activation.

This is specific to your operating system and application framework.

Niels Dybdahl
 
C

Christopher Benson-Manica

Gary Jackson said:
Hop u can help me with my problem, I am new to c++ and have started
an application, on my form I have a number of edit boxes and each one is
incremented by 1 each time a specific key is pressed. My problem is that I
want to run 5 keyboards to this app and the only way to increment the edit
box is if the focus is set to that box, but I need to be able to press any
of the 5 keyboards keys and the edit boxes no matter which will increment as
needed, is there a way of monitering the key presses and setting the focus
into each edit box at key press activation.
Please help I have dived in at the deep end !!! but I would realy like
to get this running...

Your post is off-topic for comp.lang.c++. Please visit

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/

for posting guidelines and frequently asked questions. Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top