BCGControlBar Pro for MFC
void CBCGPToolBoxPage::SetMode ( ToolBoxPageMode  mode,
BOOL  bRecalLayout = FALSE 

Sets the new page mode.

Use this method to set the new page mode.

mode can be one of the following enumerated values:

  • ToolBoxPageMode_Default - image on the left side and text
  • ToolBoxPageMode_Images - image only
modeSpecifies the new mode.
bRecalLayoutTRUE - recalculate toolbox layout after changing the mode.