TrayIcon.Hide
Description
- Hides specified tray icon from PowerPro & system tray.
Syntax
- TrayIcon.Hide([^]caption_list[(id)])
Parameters
- ^
- (string) a single carat character, ^, prepended to the icon name to avoid errors if the icon is not found
- caption_list
- (string) identifies which tray icon window to work with
-
Possible Values
- The icon's window can be specified via its:
- caption
- *caption
- *caption*
- caption*
- cap*tion
- exe name
- =exename
- window class
- c=windowclass
- id
- (mixed) Indicates which tray icon to use for a window when which controls more than one tray icon.
- Optional.
Examples
- TrayIcon.Hide("=taskmgr")
- Hides the Task Manager icon from both PowerPro's & Windows' system trays.
Notes
- Commands can still be sent to hidden icons.