Toolbar_NumOnPanel

int Toolbar_NumOnPanel (int panel, int includeHidden);

Purpose

Returns the number of toolbars docked on a given panel. Optionally, this function includes toolbars that are currently hidden. If you pass 0 for panel, this function returns the number of floating toolbars.

Parameters

Input
Name Type Description
panel integer The handle of the panel on which the toolbars will be counted.
includeHiddenToolbars integer If nonzero, hidden toolbars will be included in the count.

Return Value

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