int SizeRingCtrlToText (int panel, int ringCtrl);
This function resizes the specified ring control so that it is large enough to completely display the text of any of its entries.
The ring control must be a plain ring control or a recessed menu ring (styles CTRL_RING or CTRL_RECESSED_MENU_RING).
Input | ||
Name | Type | Description |
panel | integer | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
ringCtrl | integer | Pass the ID of the ring control to resize. The ID is the defined constant (located in the UIR header file) which was assigned to the control in the User Interface Editor, or the ID returned by the NewCtrl or DuplicateCtrl function. |
Name | Type | Description | ||
status | integer | Returns 0 if the function succeeded or a negative error code if the function failed. The possible negative error codes are:
A description of any of these error codes can be obtained using the GetGeneralErrorString function in the toolbox.fp instrument driver. |