BOOL CBCGPToolbarCustomize::AddToolBar | ( | UINT | uiCategoryId, |
UINT | uiToolbarResId | ||
) |
Loads a toolbar from the resources and adds its commands to the list box of commands on the "Commands" page.
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.
uiCategoryId | Specifies the resource ID of the category string. |
uiToolbarResId | Specifies the resource ID of a toolbar whose commands to insert into the list box of commands. |