Unicode Controls & Classes for VB6 - Version 4

clsTrayArea.AddIcon Function

Adds a specified icon to the Tray Area; returns True if the call succeded

Syntax
Public Function AddIcon (ByRef uID As Long, _
ByRef sTip As String, _
ByRef hIcon As Long) As Boolean
Parameters
Parameter Description
ByRef uID As Long The icon identifier
ByRef sTip As String The icon tip
ByRef hIcon As Long The icon handle
Remarks
'Add one icon to the tray area
moTrayArea.AddIcon 1, "Right click to open the menu", Image1.Picture.Handle