Share via


CMFCRibbonCustomizePropertyPage::AddCustomCategory

Adds a custom category to the Commands combo box.

void AddCustomCategory(
   LPCTSTR lpszName,
   const CList<UINT, UINT>& lstIDS
);

Parameters

Parameter

Description

[in] lpszName

Specifies the custom category name.

[in] lstIDS

Contains ribbon command IDs to be shown in the custom category.

Remarks

This method adds a category named lpszName to the Commands combo box. When the user selects the category, the commands specified in lstIDS appear in the command list.

Requirements

Header: afxribboncustomizedialog.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonCustomizePropertyPage Class