Compartilhar via


CTabbedPane::SetTabAutoColors

Sets a list of custom colors that are used when the auto color feature is enabled.

static void SetTabAutoColors(
    const CArray<COLORREF, COLORREF>& arColors
);

Parameters

  • [in] arColors
    Contains the array of colors to set.

Remarks

Use this method to customize the list of colors that are used when the auto color feature is enabled. This is a static function and affects all tabbed panes in your application.

Use CTabbedPane::EnableTabAutoColor to enable or disable the auto color feature.

Requirements

Header: afxTabbedPane.h

See Also

Reference

CTabbedPane Class

Hierarchy Chart