Mouse Interaction

The example programs presented so far in this book have all been comprised of a Form object, which itself is derived from the Control class, with one or more child Control objects on the form. None of the examples has included any explicit code for implementing mouse support (other than Click event handlers), yet all support the mouse in the manner you would expect of a Windows application. This is because all members of the Control class handle the mouse of their own accord. They also have properties, methods and events for extending mouse support when the standard behavior is insufficient.

Категории