Share via


CMFCRibbonColorButton::SetColumns

Sets the number of columns displayed in the table of colors that is presented to the user during the user's color selection process.

void SetColumns(
   int nColumns
);

Parameters

  • [in] nColumns
    The number of color icons to display in each row.

Requirements

Header: afxribboncolorbutton.h

See Also

Reference

CMFCRibbonColorButton Class

Hierarchy Chart