| 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.
| bMenuPaletteMode | TRUE - enable palette mode, FALSE - enable regular mode |
| nPaletteRows | Number of rows in palette. |