Function Reference


TraySetToolTip

(Re)Sets the tooltip text for the tray icon.

TraySetToolTip ( [text] )

Parameters

text [optional] The new text to be displayed as tooltip. The length is limited - see Remarks.

Return Value

Success: Returns 1.
Failure: Returns 0.

Remarks

In Windows 2000 and later the tooltip length is limited to 128 characters.

To reset the tooltip to the default text, use the function with no parameters:
TraySetToolTip().

The tooltip text is only changed when the tray icon is visible!

Related

TrayTip

Example


#NoTrayIcon

TraySetState()
TraySetToolTip("This is my new tooltip text!")

While 1
    Sleep(10) ; Idle loop
WEnd

Exit