int Toolbar_GetCtrlFromIndex (ToolbarType toolbar, int index, int *panel, int *control);
Obtains the panel and control identifier for an item on the toolbar with a particular index.
Input | ||
Name | Type | Description |
toolbar | ToolbarType | The specifier for the toolbar. Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions. |
index | integer | The index of the toolbar item. |
Output | ||
Name | Type | Description |
panel | integer * | Returns the ID of the panel that contains the control with the specified index. |
control | integer * | Returns the ID of the first control with the specified index. |
Name | Type | Description |
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |