TBApiGetNamedToolbar API Call

 

Description

Returns the handle for a toolbar that can be used to reference the toolbar info with the extended settings API’s

Parameters

Device, Toolbar

Returns

0 = OK, 1 = fail

Notes

 

 

Visual C++ Declaration/example

 

int hToolbar = TBApiGetNamedToolbar(device,"Event-Selector");
if(hToolbar >=0 )
{
QString tbkey = "Toolbars\\" + QString::number(hToolbar);
DWORD enabled;
TBApiGetSettingDWORDEx(device, tbkey,"Enabled:0:0",&enabled);