Each key of the keyboard is detected, when the compile and run this program, your mouse and keyboard actions will be monitored, whether you press any key on the keyboard, it will be displayed in the window, a nice key detection program , VC ++ Source code is available vc ++ ...... compilation, complete error-free!