int GetCtrlToolTipAttribute (int panelHandle, int controlID, int toolTipAttribute, void *attributeValue);
This function gets tool tip attributes for the control you specify.
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 obtain. 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 | void * | 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. |
Name | Type | Description |
status | integer | Returns a negative error code if an error occurs. |