# SalToolTipManager

Namespace: **PPJ.Runtime.Windows.QO**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Class for managing tool tips.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SalToolTipManager : SalFunctionalClass
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SalToolTipManager
    Inherits SalFunctionalClass
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SalToolTipManager()

Default constructor.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SalToolTipManager(derived)

Multiple inheritance constructor.

| Name        | Type                                                                | Description |
| ----------- | ------------------------------------------------------------------- | ----------- |
| **derived** | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

## Properties

### ![](/files/69uzLyEV3ANF4GK6pznb)ToolTip

[ToolTip](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md): Returns the single tool tips instance used by SalToolTipManager.

## Methods

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AddTool(ctrl, sTip, sStatus)

Associate a tip with a control. The control can be any type of window.

| Parameter   | Type                                                                                | Description                                  |
| ----------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**    | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **sTip**    | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |
| **sStatus** | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AddTool(ctrl, sTip, sStatus, bTracking)

Associate a tip with a control. The control can be any type of window.

| Parameter     | Type                                                                                | Description                                  |
| ------------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **sTip**      | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |
| **sStatus**   | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |
| **bTracking** | [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)        |                                              |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AddToolEx(ctrl, sTip, sStatus, bTracking, nMessage)

Associate a tip with a control. The control can be any type of window.

| Parameter     | Type                                                                                | Description                                  |
| ------------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **sTip**      | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |
| **sStatus**   | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |
| **bTracking** | [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)        |                                              |
| **nMessage**  | [SalNumber](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)DeleteTool(ctrl)

Stop displaying a control tip for a window

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetStatusText(ctrl)

Get the status text defined for a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)GetTipText(ctrl)

Get the tip text defined for a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)IsTool(ctrl)

Indicate whether this window has been added as a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetStatusText(ctrl, sText)

Change the text displayed on the status bar

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **sText** | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetTipText(ctrl, sText)

Change the text displayed as a tip.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **sText** | [SalString](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md)         |                                              |

**Returns:** [SalBoolean](/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
