Chapter 4 Keyboard and Mouse Input

Most applications require input from the user—typically, by means of the keyboard or the mouse. With the Microsoft Windows operating system, applications receive keyboard and mouse input in the form of input messages.

This chapter covers the following topics:

Input messages that Windows sends your application

Responding to Windows input messages

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