All Windows applications should accept user input from the keyboard as well as from the mouse. A Windows application receives keyboard input in the form of messages which are posted to the windows in the application. This chapter describes how Windows generates keyboard input and explains how an application receives and process the input.