|
-
Mar 19th, 2022, 06:37 AM
#1
Thread Starter
Junior Member
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.
-
Mar 19th, 2022, 11:20 AM
#2
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.
-
Mar 19th, 2022, 11:22 AM
#3
Thread Starter
Junior Member
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.
-
Mar 19th, 2022, 11:23 AM
#4
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|