int EasyTab_GetBounds (int panel, int tabControl, int whichBounds, Rect *bounds);
This function gets the size and location of a Tab control.
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. |
tabControl | integer | The ID returned by the EasyTab_Create or EasyTab_ConvertFromCanvas function. |
whichBounds | integer | Specifies whether to retrieve the size and position of
If If |
Output | ||
Name | Type | Description |
bounds | Rect * | The Rect structure that is set to the location and size of the Tab control. The Rect structure is defined (in userint.h) as follows: typedef struct |
Name | Type | Description | ||||||
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. 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. |