BCGControlBar Pro for MFC
void CBCGPToolbarMenuButton::SetMenuPaletteMode ( BOOL  bMenuPaletteMode = TRUE,
int  nPaletteRows = 1 
)

Sets a drop-down menu, associated with the menu button to palette mode.

The function is used to enable or disable the palette mode for a drop-down menu, associated with the menu button. In the palette mode menu items are displayed as a multicolumn palette with the specified by nPaletteRows number of columns.

Parameters
bMenuPaletteModeTRUE - enable palette mode, FALSE - enable regular mode
nPaletteRowsNumber of rows in palette.