Raised periodically while the user moves the mouse.
VB6
![]() |
---|
Public Event MouseMove |
Parameter | Type | Description |
---|---|---|
docX | [input] long | The x coordinate of the current mouse position. |
docY | [input] long | The y coordinate of the current mouse position. |
Dispatch ID: 72
If enabled, this event is raised periodically while the user moves the mouse. Because it might produce some unnecessary overhead, the event firing is disabled by default. You can enable/disable it through the FireMouseMove property. The parameters of the event are expressed in document coordinates.
Suppose you need to display some text, associated with a diagram node, as a message in the status-bar of your application. The status-bar should be updated while the user moves the mouse around. To implement this functionality you might handle the event as follows:
VB6
![]() |
---|
Private Sub fc_MouseMove(ByVal docX As Long, ByVal docY As Long) |