Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Controls whether the framework uses the automatic background colors when drawing a tab.
void EnableAutoColor(
BOOL bEnable = TRUE
);
Parameters
- [in] bEnable
A Boolean parameter that determines whether the framework uses automatic colors.
Remarks
A tab control has an array of several predefined colors. When the framework uses automatic colors, each tab in a series of tabs is assigned the next color from this array.
By default, the automatic colors are determined by the library-defined colors. You can provide a custom array of colors by calling CMFCBaseTabCtrl::SetAutoColors.
Requirements
Header: afxbasetabctrl.h