Software Archive
Read-only legacy content
17061 Discussions

PeekConsoleInput & ReadconsoleInput

tkibedi
Novice
510 Views
I am writing a console application, which use an interactive graphics window. To get the key stroke on the console window, when the focus is either on the console or on the graphics window, I try to use the PeekConsoleInput and end the ReadConsoleInput functions. The program detects, when a key was pressed, but ReadConsoleInput fails to retrieve the actual key stroke. Could anybody help me to use the right parameters for this subroutine calls.
0 Kudos
0 Replies
Reply