By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,727 Members | 1,165 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,727 IT Pros & Developers. It's quick & easy.

How do you halt a program while waiting for a KeyDown?

P: 12
I'm currently writing a poker program i .net compact framework. In one method I have a while-loop that goes through every player until everyone is finished betting. What I need is some way to halt the while-loop until the user makes a decision (presses a key) and then continue. How can I do this?

May 7 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,871
Have you tried using the keydown event?
May 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.