What is the closest Windows API analog to the OS/2 API KbdCharIn?
I've tried GetKeyState and GetAsyncKeyState, but in a console
application, it seems they always return zero.
What is the closest Windows API analog to the OS/2 API KbdCharIn?
I've tried GetKeyState and GetAsyncKeyState, but in a console
application, it seems they always return zero.
The console API in Win is distinct from the GUI API.
ReadConsoleInput/PeekConsoleInput might be your friends.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 445 |
Nodes: | 16 (0 / 16) |
Uptime: | 114:22:49 |
Calls: | 9,209 |
Calls today: | 8 |
Files: | 13,483 |
Messages: | 6,054,656 |