int GCC_New (int panel, int graphControl, int gap, int position, int numberOfRows);
This function creates a new graph cursor control.
Input | ||
Name | Type | Description |
panel | integer | The id of the panel that is hosting the graph control. |
graphControl | integer | The defined constant, located in the .uir header file, that you assigned to the graph control in the User Interface Editor, or the ID returned by NewCtrl or DuplicateCtrl. The graph cursor control is associated with this graph control. |
gap | integer | The distance in pixels between the graph and the graph cursor control. |
position | integer | The position of the graph cursor control relative to the graph. |
numberOfRows | integer | The number of rows to display in the graph cursor control. |
Name | Type | Description | ||||||
result | integer | Returns a handle you can use to specify the graph cursor control in subsequent function calls. Negative values indicate that an error occurred. Zero is not a valid handle.
|