Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > ToolBar Control >

ToolBar_GetCount

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves the number of buttons (and separators) currently present on the ToolBar.

 

Syntax

 

n = ToolBar_GetCount(hWnd, ctrlID)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

 

Remarks

 

Restrictions

 

See also

 

Examples