Sign in to follow this  
aftermath

Shortcut key-like keyboard input

Recommended Posts

Hello everyone, I'm writing a Windows GUI application using the wxWidgets framework. I need to get keyboard input from the user, but not in like you would get it in a game. What I'm trying to achieve would probably be best described with a screenshot for a shortcut in Windows: How do I capture keyboard input this way? I need to be able to capture any meta-keys also (like shift, control or any of the F1-F12 keys, actually ALL keys on the standard keyboard need to be able to be captures.) I can't say exactly what this is for but think of it as an "input configuration" application. Does anyone know how to do this?

Share this post


Link to post
Share on other sites
Keyboard Accelerators do not work for me because my application needs to "read" what keys the user pressed - not do somthing if they are pressed (like a menu shortcut.)

So when a user presses OK on the dialog I need to be able to see what keys were pressed so I can save it into a file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this