SetCtrlToolTipAttribute

int SetCtrlToolTipAttribute (int panelHandle, int controlID, int toolTipAttribute, . . .);

Purpose

This function sets tool tip attributes for the control you specify.

Note  Tool tips only work with non-modal panels. Modal panels are panels that are displayed using the InstallPopup function.

Parameters

Input
Name Type Description
panelHandle integer The specifier for a particular panel that is currently in memory.

You obtain the handle by calling the LoadPanel, NewPanel, or DuplicatePanel function.
controlID integer The defined constant (located in the UIR header file) that you assign to the control in the User Interface Editor, or the ID that you obtain by calling the NewCtrl or DuplicateCtrl function.
toolTipAttribute integer The tool tip attribute value to set.

In the function panel, when you click the control or press <Enter>, <Spacebar>, or <Ctrl-down arrow>, a dialog box appears containing a hierarchical list of the available attributes. Attributes whose values cannot be obtained are dimmed. Help text is shown for each attribute. To select an attribute, double-click it or select it and then press <Enter>.

If the attribute shown in this ring control has named constants as valid values, you can open a list of them by moving to the Attribute Value control and pressing <Enter>. The Attribute Values dialog box displays the values and value help for the constants.
attributeValue any type (passed by value) The value of the specified tool tip attribute.

If the attribute shown in this control has named constants as valid values, you can open a list of them by pressing <Enter>. The Attribute Values dialog box displays the values and value help for the constants.

Return Value

Name Type Description
status integer Returns a negative error code if an error occurs.