Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Tab Color in a MDI Project
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tab Color in a MDI Project

 Post Reply Post Reply
Author
Message
sintra@sintra-sl.es View Drop Down
Groupie
Groupie


Joined: 07 April 2015
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote sintra@sintra-sl.es Quote  Post ReplyReply Direct Link To This Post Topic: Tab Color in a MDI Project
    Posted: 20 November 2020 at 7:40am
In a MDI Project, is posible change the Color Tab of a selected form??

I use VisualTheme xtpThemeVisualStudio2015Light but I need change this color.

I'm working with Codejock 18.0 and C#.

Thanks


Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2020 at 2:10am
I believe that you can access the colors directly using something like this:

m_MTIClientWnd.GetPaintManager()->GetColorSet()->m_clrHeaderFace.SetCustomValue(RGB(212,212,212));


Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
sintra@sintra-sl.es View Drop Down
Groupie
Groupie


Joined: 07 April 2015
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote sintra@sintra-sl.es Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2020 at 8:19am
Thanks CPede, but in C#??
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.