Print Page | Close Window

Tab Color in a MDI Project

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=24097
Printed Date: 19 April 2024 at 6:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tab Color in a MDI Project
Posted By: sintra@sintra-sl.es
Subject: Tab Color in a MDI Project
Date 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





Replies:
Posted By: cpede
Date 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 (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: sintra@sintra-sl.es
Date Posted: 24 November 2020 at 8:19am
Thanks CPede, but in C#??



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net