0

Hi, in my MFC dialog app i have a message, saying "Press any key to go on" I wanna make it in the way, that when the user presses any key it must do something(i have already done that).
So, how can i check if any key is pressed using GetKeyboardState() or some other way you can recommend me?
Thanks.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Duoas
0

Wait... are you writing a GUI application or a console application?

To me, MFC Dialog == GUI --> put a "next" button on your form, and don't mess with GetKeyboardState().

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.