
3 The Mouse
3.4 Obtaining mouse information
You must be able to determine the state of the mouse to use it properly. There are three ways to find and use mouse data to control action based on mouse movement and button clicks:- polling the mouse
- generating mouse events
- specifying active regions
These methods of obtaining mouse information are described in the following sections. - 3.4.1 - Polling the mouse
-
- 3.4.2 - Queuing mouse events
-
- 3.4.3 - Active regions
-
The Window Tool Kit - 9 SEP 1996

Generated with Harlequin WebMaker