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: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 64:12:27 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,274,793 |