Print Page | Close Window

Background of CXTPTabCtrl modification needed ...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24619
Printed Date: 14 January 2026 at 6:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Background of CXTPTabCtrl modification needed ...
Posted By: kiroecke
Subject: Background of CXTPTabCtrl modification needed ...
Date Posted: 14 January 2026 at 5:30am
Hello,

the background behind the tab-headers in my CXTPTabCtrl remains grey whatever I try. My last check was 

 
auto* pPaintManager = m_pTabCtrl.GetPaintManager(); // exact name may vary by control type
if (pPaintManager != nullptr)
{
   auto* pColorSet = pPaintManager->GetColorSet();
   if (pColorSet != nullptr)
   {
          pColorSet->m_clrHeaderFace.clrLight.SetStandardValue(RGB(255, 255, 255));
          pColorSet->m_clrHeaderFace.clrDark.SetStandardValue(RGB(255, 255, 255));
          pColorSet->RefreshMetrics();
   }
}


The code was stepped through in the debugging, but the area remained grey.
Any suggestions are welcome! 
Best, Kai

Header background CXTPTabCtrl



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