Anzeige eines Ballon-Tipps (Hinweis in einer Spechblase) am AuotIt Icon. (Nur Windows 2000/XP)
TrayTip ( "title", "text", timeout [, option] )
Parameter
| title | Der Text erscheint in Fettschrift oben im Ballon-Tipp (maximal 63 Zeichen). |
| text | Nachricht, die im Ballon Tip angzeigt werden soll (maximal 255 Zeichen). |
| timeout | Eine grobe Schätzung der Anzeigezeit des Ballon Tips. (Windows hat ein Min./Max. von ca. 10-30 Sekunden, aber akzeptiert nicht immer eine Zeit in diesem Bereich) |
| option | [optional] Siehe Anmerkungen. 0 = Kein Icon (Vorgabe), 1 = Info-Icon, 2 = Achtung-Icon, 3 = Error-Icon |
Bemerkungen
TrayTip funktioniert nur unter Windows 2000/XP oder neuer.
Siehe auch
MsgBox, ToolTip, TrayIconHide (Option)
Beispiel
TrayTip("I'm a title", "I'm the message", 5, 1)
MsgBox(4096,"", "Press OK to see another tip.")
TrayTip("clears any tray tip","",0)
TrayTip("", "A different tray tip.", 5)
Sleep(5000)