Print Page | Close Window

CXTThemeManager problem in 9.50

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=1252
Printed Date: 06 November 2025 at 2:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTThemeManager problem in 9.50
Posted By: Frode
Subject: CXTThemeManager problem in 9.50
Date Posted: 08 October 2004 at 3:28am

The CXTThemeManager contructor is made private in the CXTThemeManager class in version 9.50.

I have been using the following code to get Office2003 theme style in Windows 2000:

MainFrm.h:
CXTThemeManager m_themeManager;

MainFrm.cpp:
  m_themeManager.SetTheme(xtThemeOffice2003);
  m_themeManager.SetButtonTheme(new CXTButtonThemeOffice2003Ex(TRUE));
  pCommandBars->SetPaintManager(new CXTPOffice2003ThemeEx());
  m_paneManager.SetCustomTheme(new CXTPDockingPaneOffice2003ThemeEx());
  m_paneManager.GetPaintManager()->m_pTabPaintM anager->SetColorSet(new CColorSetOffice2003Ex()) ;
  m_paneManager.GetPaintManager()->m_pPanelPain tManager->SetColorSet(new CColorSetOffice2003Ex());

Now I get compile errors when using m_themeManager, since the CXTThemeManager constructor is private.




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