MiddleDblClick Event

This event occurs when the user double-clicks on the system tray icon with the middle mouse button.

Syntax

Private Sub csSysTray_MiddleDblClick()
Private Sub csSysTray_MiddleDblClick([index As Integer])

The MiddleDblClick 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 MiddleDblClick event with a confirmation message)

Private Sub csSysTray1_MiddleDblClick ()
MsgBox "SysTray icon was double-clicked (middle mouse button)!"
End Sub