Menu

#60 BACKCOLOR to TAB control

v1.0_(example)
open
nobody
None
1
2023-08-25
2023-08-24
No

Hi!
If possible, please add option of flag(parameter) BACKCOLOR on TAB control.

Best regards,
Itamar M. Lins Jr.

Discussion

  • Alexander S.Kresin

    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.

     
  • Alexander S.Kresin

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.