Expand Minimize
This topic has not yet been rated - Rate this topic

CMFCRibbonBar::AddQATOnlyCategory

Creates a quick access toolbar ribbon category.

CMFCRibbonCategory* AddQATOnlyCategory(
   LPCTSTR lpszName,
   UINT uiSmallImagesResID,
   CSize sizeSmallImage = CSize(16,16)
);
[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.

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

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

Header: afxribbonbar.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.