Raised periodically while the user moves the mouse.
SyntaxVB6
Copy Code
|
|---|
Public Event MouseMove |
Event DataParameter | 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
RemarksIf 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.
ExampleSuppose 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
Copy Code
|
|---|
Private Sub fc_MouseMove(ByVal docX As Long, ByVal docY As Long) |
See Also