BCGControlBar Pro for MFC
BOOL CBCGPToolbarCustomize::AddToolBar ( LPCTSTR  lpszCategory,
UINT  uiToolbarResId 
)

Loads a toolbar from the resources and adds its commands to the list box of commands on the "Commands" page.

Returns
Nonzero if successful; otherwise 0.

This function loads a toolbar from the resources and loops over its commands. For each command it creates a CBCGPToolbarButton object and calls the AddButton() member function that inserts a button in the list box of commands on the "Commands" page.

Parameters
lpszCategorySpecifies the category string a toolbar belongs to.
uiToolbarResIdSpecifies the resource ID of a toolbar whose commands to insert into the list box of commands.