Results 1 to 4 of 4

Thread: Foreground and Backgroud color of TabStrip

  1. #1

    Thread Starter
    Junior Member Flauzer's Avatar
    Join Date
    Mar 2022
    Location
    c:\windows\system32
    Posts
    19

    Question Foreground and Backgroud color of TabStrip

    Hi. Is there any expert who has advice on how to change the back color of the TabStrib control (MSCOMCTL.ocx ??) Old question, I know and many link are deads.....

    I know I should subclass and use the WM_DRAWITEM ... (at least I think...). I'm quite modest programmer with the good old vb6 ( and vb6 is not my core lang...),
    and I'm looking for something like "copy and paste this"...

    I need just a light control like the tabstrip, that shows tabs "well" in W10: focus on aesthetics, forecolor and backgroud color, ...little else.

    Thanks in advance.
    Last edited by Flauzer; Mar 19th, 2022 at 07:28 AM.

  2. #2
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,667

    Re: Foreground and Backgroud color of TabStrip

    For having the controls themed (also called visual styles) you need to use Window Common Controls 5 (COMCTL32.OCX) instead of Windows Common Controls 6 (MSCOMCTL.OCX).

    And of course, add a manifest to the exe for showing the controls themed.

    PS: or use Krool's Common Controls.

  3. #3

    Thread Starter
    Junior Member Flauzer's Avatar
    Join Date
    Mar 2022
    Location
    c:\windows\system32
    Posts
    19

    Re: Foreground and Backgroud color of TabStrip

    For those few (like me) who don't know or need help on this issue , I recommend this fantastic clarifying thread.
    HERE
    https://www.vbforums.com/showthread....mmon-controls)

    Thank you Krool.

  4. #4

    Thread Starter
    Junior Member Flauzer's Avatar
    Join Date
    Mar 2022
    Location
    c:\windows\system32
    Posts
    19

    Re: Foreground and Backgroud color of TabStrip

    Thanks Eduardo for your respose.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width