Capturing keyboard input in C++

Associate
Joined
22 Nov 2005
Posts
319
Location
Alnwick, Northumberland
What i really need to no is, how would i go about detecting any keyboard input and any pending input before it gets outputted to the screen?

Ive looked round on the internet but can only really find solutions greatly in perl and visual basic, but i need a solution in C++.
Ideally, i need to be able to capture the user input into a html frame.

Any help would be appreciated :D
 
assuming that you are in MFC there is an event fired every tinme a key is pressed, OnKeyDown I think. Regeister to recieve that event and do whatever you want with it.

Paul
 
Back
Top Bottom