Macro Reference — Window Object — ShowTip Method (Window Object)

# ShowTip Method (Window Object)

Displays a tooltip.

##

### [JavaScript]

    ShowTip( strTip, flags );

### [VBScript]

    ShowTip strTip, flags

## Parameters

strTip

Specifies the text to display in the tooltip. The length of the text must be no more than 3,999 characters long. The string may include clickable text specified in this format: "clickable text".

flags

Specifies one of the following values.

eeShowTipActiveString | Displays the tooltip at the active string where the mouse pointer is hovered.
eeShowTipCurrentCaret | Displays the tooltip at the caret position.
eeShowTipCurrentMouse | Displays the tooltip at the mouse pointer position.
eeShowTipHide | Hides the tooltip if already displayed.

## Version

Supported on EmEditor Professional Version 16.9 or later.