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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use a keystroke to abort a loop

Status
Not open for further replies.

visualcpp

Technical User
Jul 7, 2003
4
US

Please tell me how to use a keystroke to abort a loop in dialog based program.
I would like to write a program which has a button. After clicking on the button, the program will keep reading the voltage until a key on the keyboard is pressed. After a keystroke is detected then the program will do something else.

Thanks,
 
>> the program will keep reading the voltage

voltage of what? how is it reading?

Why are you starting a new forum thread for the same question? You never replied to what people posted in your first question. That is considered rude.



-pete
 

I am sorry about that. I am new. Last time I read the respond, but I did not know where to reply.
The reason that I've start the new forum thread because in the last e-mail I did not state clearly what I woud like to have in the program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top