CMFCToolBarsCustomizeDialog::RenameCategory

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

BOOL RenameCategory(
   LPCTSTR lpszCategoryOld,
   LPCTSTR lpszCategoryNew 
);

Parameters

  • [in] lpszCategoryOld
    The category name to change.

  • [in] lpszCategoryNew
    The new category name.

Return Value

TRUE if the method was successful; otherwise FALSE.

Remarks

The category name must be unique.

Requirements

Header: afxToolBarsCustomizeDialog.h

See Also

Reference

CMFCToolBarsCustomizeDialog Class

Hierarchy Chart