Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CMFCRibbonCategory::CMFCRibbonCategory

Constructs and initializes a CMFCRibbonCategory Class object.

CMFCRibbonCategory(
   CMFCRibbonBar* pParenrRibbonBar,
   LPCTSTR lpszName,
   UINT uiSmallImagesResID,
   UINT uiLargeImagesResID,
   CSize sizeSmallImage = CSize(16, 16),
   CSize sizeLargeImage = CSize(32, 32) 
);
[in] pParenrRibbonBar

Pointer to the parent ribbon bar of the ribbon category.

[in] lpszName

Name of the ribbon category.

[in] uiSmallImagesResID

Resource ID of the image list for small images that are used by ribbon elements in the ribbon category.

[in] uiLargeImagesResID

Resource ID of the image list for large images that are used by ribbon elements in the ribbon category.

[in] sizeSmallImage

Default size of small images for ribbon elements in the ribbon category.

[in] sizeLargeImage

Default size of large images for ribbon elements in the ribbon category.

Header: afxribboncategory.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.