It isn't as simple as with other controls.
To do this it is needed to rewrite the HTab code, probably to make it with SS_OWNERDRAW style and draw it.
But there are workarounds for this. If you need a color for that area, where controls are placed, you may to place a panel there - it allows backcolors, gradients, and place other controls on it.
If you want to colorize the top part of a tab, you may try the HLenta control.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just placed to tutor a module "A replacement for a colorized tab" to demonstrate this idea. There may be different implementations. HBoard and drawn controls may be used instead og HPanel, for example.
Regards, Alexander.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It isn't as simple as with other controls.
To do this it is needed to rewrite the HTab code, probably to make it with SS_OWNERDRAW style and draw it.
But there are workarounds for this. If you need a color for that area, where controls are placed, you may to place a panel there - it allows backcolors, gradients, and place other controls on it.
If you want to colorize the top part of a tab, you may try the HLenta control.
Just placed to tutor a module "A replacement for a colorized tab" to demonstrate this idea. There may be different implementations. HBoard and drawn controls may be used instead og HPanel, for example.
Regards, Alexander.