Chapter 16 Keyboard and Mouse Input

Most applications require input from the user. Typically, input from the user comes via the keyboard or the mouse. In Microsoft Windows, applications receive keyboard and mouse input in the form of input messages.

This chapter covers the following topics:

The input messages that Windows sends your application

Responding to Windows input messages

This chapter also explains how to build a sample application, Input, that responds to various types of input messages.