Response to a key
I need to give the look of 'pages' in a console app, eg Right arrow key will show the next object, Left will show the previous object etc. Basically, I just need to know how to get that kind of a key response from the user.
EDIT - Im sure it can be of even greater application, say, a menu where, for once, you dont have to enter a number for what option you want to take, you simply press the corresponding key! O_O I've seen it in another project, but couldn't see the source...
Originally Posted by Salem
But what if I need response for, say, an alphabet or a numerical key?
Edit - Googled around for 'keyboard code map', no go, no index of keyboard codes...sigh.
Maybe carry on reading the MSDN help pages for some of the functions listed in the FAQ.
This will inevitably lead you to related functions and perhaps the answer you seek.
Along the way, you may discover some other stuff you can use.