Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTThemeManager problem in 9.50
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTThemeManager problem in 9.50

 Post Reply Post Reply
Author
Message
Frode View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Location: Norway
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Frode Quote  Post ReplyReply Direct Link To This Post Topic: CXTThemeManager problem in 9.50
    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.

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.047 seconds.