Creates a tooltip anywhere on the screen.
ToolTip ( "text" [, x [, y]] )
Parameters
text | The text of the tooltip. (An empty string clears a displaying tooltip) |
x, y | [optional] The x,y position of the tooltip. |
Return Value
None.
Remarks
If the x and y coordinates are omitted the, tip is placed near the mouse cursor. If the coords would cause the tooltip to run off screen, it is repositioned to visible.
Related
TrayTip
Example
; This will create a tooltip in the upper left of the screen
ToolTip("This is a tooltip", 0, 0)
Sleep(2000) ; Sleep to give tooltip time to display