sysTrayShowMessage()
Shows a balloon message in the system tray with a given title, message, icon, and timeout.
Synopsis
int sysTrayShowMessage(string title, string message, string icon = "", int
timeout = 10000)
Parameter
| Parameter | Description |
|---|---|
| title | Title text of the message. |
| message | The content/message text to display. |
| icon |
Icon for the message. Can be an empty string (no icon), one of the following special names: "::Information", "::Warning", "::Critical", or a relative path to a custom icon. Note:
Custom icons may not be supported on all systems. |
| timeout | Display duration in milliseconds. Default is 10000. May be ignored by the system (e.g., on Windows when the app has focus). |
Return Value
Returns 0 on success. Returns -1 in case of an
error.
Details
The function shows a balloon message in the system tray for the entry with the
specified title, message, and optional icon. Display duration can be set via
parameter timeout.
Availability
CTRL
