Partilhar via


CMFCColorButton::SetColumnsNumber

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

void SetColumnsNumber(
   int nColumns 
);

Parameters

  • [in] nColumns
    Specifies the number of columns.

Remarks

The user can select a color from a popup color bar that displays a table of predefined colors. Use this method to define the number of columns in the table.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart