RightDblClick Event

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

Syntax

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

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

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