Qbasicnews.com

Full Version: Key trapping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am really confused about key trapping. Can someone please, in as much detail as possible tell em how to trap keys? I only need one key at a time. Also, it would help a lot if I didn's have to use SDL - I just want something simple, like INKEY$ that will just get the job done. :bounce: h
GetKeyState or GetAsyncKeyState. They're in user32. I'd provide more details but you would learn more effectively by looking up code examples on your own. Big Grin
Quote:Can someone please, in as much detail as possible tell em how to trap keys?

WITH as MUCH DETIAL as possible!!! :???:
Quote:I'd provide more details but you would learn more effectively by looking up code examples on your own. Big Grin
MSDN should be helpful I believe.