BCGControlBar Pro for MFC
BOOL CBCGPToolbarCustomize::RenameCategory ( LPCTSTR  lpszCategoryOld,
LPCTSTR  lpszCategoryNew 
)

Renames a category in the list box of categories on the "Commands" page.

Returns
Nonzero if successful; otherwise 0.

Call this function to rename a category in the list box of categories on the "Commands" page. The category name must be unique.

Parameters
lpszCategoryOldThe category name to change.
lpszCategoryNewThe new category name.