共用方式為


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

Reference

CMFCRibbonGallery Class

Hierarchy Chart