vRecall that VB, like most other modern environments for
building graphical user interfaces, uses an
event model.
vFor example, we
generate an event (and call an appropriate procedure) whenever the user clicks on a button.
vWhenever the mouse moves, VB
generates a “mouse move event”
v
v
Private Sub Form_MouseMove(button As Integer, shift As Integer,
x As Single, y As
Single)