# Toolbar_GetNumItems

int Toolbar_GetNumItems (ToolbarType toolbar, int *count);

## Purpose

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.

## Parameters

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.

## Return Value

Name | Type | Description
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.