MouseMove Event
This event occurs when the user moves the mouse cursor over the icon in the system tray.
Syntax
Private Sub csSysTray_MouseMove()
Private Sub csSysTray_MouseMove([index As
Integer])
The MouseMove event syntax has these parts:
Part | Description |
csSysTray | The SysTray control you are working with. |
index | An integer that uniquely identifies a control if it's in a control array. |
Examples
Example 1 (Responding to a MouseMove event with a confirmation message)
Private Sub csSysTray1_MouseMove ()
MsgBox "Mouse Cursor Moved Over SysTray Icon!"
End Sub