DirectX SDK

Tutorial 2: Using the Mouse

[C++]

This topic pertains only to application development in Visual Basic. See DirectInput C/C++ Tutorials.

[Visual Basic]

This tutorial focuses on using the mouse at the exclusive cooperative level and shows how to retrieve buffered data in response to notifications. The sample code is based on the ScrawlB sample.

The tutorial is divided into the following steps: