For Each TrayIcons (gb.gui.trayicon)

Dim hTrayIcon As TrayIcon
For Each hTrayIcon In TrayIcons
  ...
Next

Enumerates all tray icons managed by the application.