Share via


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) 
);

Parameters

  • [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.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart