BCGControlBar Pro for MFC
void CBCGPColorButton::SetColumnsNumber ( int  nColumns)

Sets the number of columns on the popup color bar.

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

nColumnsSpecifies the number of colors.