CMFCRibbonGallery::SetIconsInRow

Specifies the number of items per row in the gallery.

void SetIconsInRow(
    int nIconsInRow 
);

Parameters

  • [in] nIconsInRow
    Specifies the number of items to appear in each row of the gallery.

Remarks

Use this method to specify the width of the ribbon gallery.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonGallery Class