int Toolbar_GetNumItems (ToolbarType toolbar, int *count);
Determines the number of items on the toolbar. This number includes all of the items on the toolbar, including separators, move handles, active items, and inactive items.
| Input | ||
| Name | Type | Description |
| toolbar | ToolbarType | The specifier for the toolbar. Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions. |
| Output | ||
| Name | Type | Description |
| count | integer * | Returns the total number of items on the toolbar. |
| Name | Type | Description |
| status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |