CMFCRibbonBar::AddQATOnlyCategory

 

Creates a quick access toolbar ribbon category.

Syntax

CMFCRibbonCategory* AddQATOnlyCategory(
   LPCTSTR lpszName,
   UINT uiSmallImagesResID,
   CSize sizeSmallImage = CSize(16,16)
);

Parameters

  • [in] lpszName
    Name of the category.

  • [in] uiSmallImagesResID
    Resource ID of the image list for the category.

  • [in] sizeSmallImage
    Size of images for ribbon elements in the category.

Return Value

A pointer to the new category if the method was successful; otherwise, NULL.

Remarks

The quick access toolbar ribbon category is only used on the quick access toolbar customization dialog box.

Requirements

Header: afxribbonbar.h

See Also

CMFCRibbonBar Class
Hierarchy Chart