BCGControlBar Pro for MFC
static void CBCGPTabbedControlBar::EnableTabAutoColor ( BOOL  bEnable = TRUE)
static

Enables or disables automatic coloring of tabs.

Use this static function anywhere in your code in order to enable or disable automatic coloring of tabs in all tabbed control bars in the application. When this feature is enabled each tab is filled by its own color. The initial list of colors is hardcoded and can be found in void CBCGPBaseTabWnd::InitAutoColors.

You can specify the list of colors to be used for tabs calling SetTabAutoColors().

By default this option is disabled.

Parameters
bEnableIf TRUE, auto color is enabled. If FALSE, auto color is disabled.